v1

latestOpenAPI 3.0.3Apache 2.02026-07-133681213.9 KB
Connections

Create Callback State

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

post/vault/connections/{unified_api}/{service_id}/callback-state

Path parameters

service_idstring required

Service ID of the resource to return

unified_apistring required

Unified API

Headers

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

Request body

redirect_uristring

The redirect URI to be used after the connection is created.

Example request

{
  "redirect_uri": "https://example.com/callback"
}

Response

Callback state created

status_codeinteger required

HTTP Response Status Code

statusstring required

HTTP Response Status

_rawRaw nullable

Raw response from the integration when raw=true query param is provided

Example response

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