Docs
Search…
Making requests on-behalf of accounts
You can make an API call on-behalf of an account by passing their Account ID into requests in the Yorlet-Account header.

Create a customer on-behalf of an account

1
curl https://api.yorlet.com/v1/customers \
2
-H "Authorization: Bearer {{API_KEY}}" \
3
-H "Content-Type: application/json" \
4
-H "Yorlet-Account: {{ACCOUNT_ID}}" \
5
-d '{
6
"email": "[email protected]"
7
}'
Copied!