curl --request POST \
--url https://api.platform.dakota.xyz/clients \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"client_name": "Acme Financial Services",
"user_first_name": "John",
"user_last_name": "Smith",
"user_email": "john.smith@acme.com",
"bridge_subdeveloper_id": "sub_dev_123456",
"dakota_organization_id": "71e335dd-da91-41a3-b1a5-b596e2f5e798"
}
'{
"client": {
"id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"name": "Acme Financial Services"
},
"setup_statuses": {
"client_created": {
"success": true,
"error": "<string>",
"details": {}
},
"subdeveloper_added": {
"success": true,
"error": "<string>",
"details": {}
},
"user_created": {
"success": true,
"error": "<string>",
"details": {}
},
"stytch_user_created": {
"success": true,
"error": "<string>",
"details": {}
},
"bridge_customer_fetched": {
"success": true,
"error": "<string>",
"details": {}
},
"customer_copied": {
"success": true,
"error": "<string>",
"details": {}
},
"webhooks_setup": {
"success": true,
"error": "<string>",
"details": {}
},
"webhook_activated": {
"success": true,
"error": "<string>",
"details": {}
},
"webhook_key_stored": {
"success": true,
"error": "<string>",
"details": {}
},
"endorsements_synced": {
"success": true,
"error": "<string>",
"details": {}
}
}
}Creates a new subdeveloper client with all necessary setup. Requires super admin privileges (super admin JWT users or super user API keys).
curl --request POST \
--url https://api.platform.dakota.xyz/clients \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"client_name": "Acme Financial Services",
"user_first_name": "John",
"user_last_name": "Smith",
"user_email": "john.smith@acme.com",
"bridge_subdeveloper_id": "sub_dev_123456",
"dakota_organization_id": "71e335dd-da91-41a3-b1a5-b596e2f5e798"
}
'{
"client": {
"id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"name": "Acme Financial Services"
},
"setup_statuses": {
"client_created": {
"success": true,
"error": "<string>",
"details": {}
},
"subdeveloper_added": {
"success": true,
"error": "<string>",
"details": {}
},
"user_created": {
"success": true,
"error": "<string>",
"details": {}
},
"stytch_user_created": {
"success": true,
"error": "<string>",
"details": {}
},
"bridge_customer_fetched": {
"success": true,
"error": "<string>",
"details": {}
},
"customer_copied": {
"success": true,
"error": "<string>",
"details": {}
},
"webhooks_setup": {
"success": true,
"error": "<string>",
"details": {}
},
"webhook_activated": {
"success": true,
"error": "<string>",
"details": {}
},
"webhook_key_stored": {
"success": true,
"error": "<string>",
"details": {}
},
"endorsements_synced": {
"success": true,
"error": "<string>",
"details": {}
}
}
}Name of the new client organization
"Acme Financial Services"
First name of the primary user for this client
"John"
Last name of the primary user for this client
"Smith"
Email address of the primary user for this client
"john.smith@acme.com"
Bridge subdeveloper ID for this client. Required in production, optional in sandbox mode.
"sub_dev_123456"
Dakota organization ID (UUID) that maps to Platform customer external_id. Required in production, optional in sandbox mode.
"71e335dd-da91-41a3-b1a5-b596e2f5e798"