Cards, prop trading & accounting

Select Country Flow

Stores the caller's US/INTERNATIONAL flow choice, creating a placeholder TEMP Rain user if none exists.

POSThttps://api.toku.com/hris/select-country-flow

Not available to API keys.

curl --request POST \
  --url 'https://api.toku.com/hris/select-country-flow' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "countryFlowType": "US"
}'
200 response
{}

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.

Body

application/json

countryFlowTypestringrequired

Available options: US, INTERNATIONAL

Response

200Successful response
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits