curl --request POST \
--url https://sapi.withsutro.com/builders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-sutro-api-client: <api-key>' \
--data '
{
"sid": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sid": "<string>",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}curl --request POST \
--url https://sapi.withsutro.com/builders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-sutro-api-client: <api-key>' \
--data '
{
"sid": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sid": "<string>",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Builder authentication and authorization
A unique identifier for the API Client making a request
A Builder's SID is the security ID associated with a Customer User. This SID comes from the Customer and should uniquely identify a User in their Authentication system. This SID is what should be in the sub claim of any JWTs used to authenticate requests to the Sutro API from the Customer API.
The newly created builder
A builder is an end user or client who builds and runs apps that integrate with Sutro.
Was this page helpful?