Skip to main content
POST
/
prop
/
journeys
/
grant
Grant Journey
curl --request POST \
  --url https://api.{your-broker}.slate-labs.com/prop/journeys/grant \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "reason": "<string>",
  "selected_addon_codes": [
    "<string>"
  ]
}
'
{
  "journey_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "login": "<string>",
  "phase": "<string>",
  "pending_payment_tx_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
customer_id
string<uuid>
required
template_id
string<uuid>
required
reason
string
required
Required string length: 1 - 500
selected_addon_codes
string[]

Response

Successful Response

journey_id
string<uuid>
required
account_id
string<uuid>
required
login
string
required
phase
string
required
pending_payment_tx_id
string<uuid> | null
required