Create Create OAuth user state.

Version 4.0.24.20 (latest)

Create OAuth User state.

Request

POST /external_oauth_applications/user_state
Datatype
Description
Request
HTTP Request
body
HTTP Body
Expand HTTP Body definition...
body
Create OAuth user state.
Expand CreateOAuthApplicationUserStateRequest definition...
user_id
string
oauth_application_id
string
access_token
string
access_token_expires_at
string
refresh_token
string
refresh_token_expires_at
string

Response

200: Created user state

Datatype
Description
user_id
string
User Id
oauth_application_id
string
OAuth Application ID

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

409: Resource Already Exists

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

422: Validation Error

Datatype
Description
(object)
message
string
Error details
Expand ValidationErrorDetail definition...
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link