Create Callback State

POST {{baseUrl}}/vault/connections/:unified_api/:service_id/callback-state

This endpoint creates a callback state that can be used to issue requests to the callback endpoint.

Request Body

{"redirect_uri"=>"https://example.com"}

HEADERS

KeyDatatypeRequiredDescription
x-apideck-consumer-idstring(Required) ID of the consumer which you want to get or push data from
x-apideck-app-idstring(Required) The ID of your Unify application
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"status_code":200,"status":"OK","data":{"state":"123e4567-e89b-12d3-a456-426614174000"}}