Create account
POST/create-account
Creates a new SideShift.ai account and returns the account id and secret.
The id can be used as affiliateId in shift creation requests to earn commissions.
The secret should be stored securely and is used for authentication via the x-sideshift-secret header in subsequent requests.
This endpoint is also how you rotate credentials: it issues a new account (id + secret). Switch your integration to the new values. It does not rotate the secret on an existing account.
A SideShift.ai account represents your integration, not an individual end user. Use one account for your entire integration. Create another only to rotate credentials.
Responses
- 201
- 500
- application/json
- Schema
- Example
Schema
The account ID. Can be used as affiliateId when creating shifts.
The account secret. Used for authentication via the x-sideshift-secret header. Store securely and never share.
{
"id": "YQMi62XMb",
"secret": "2d880aab08340f43c3803515f19a0ebf"
}
- application/json
- Schema
- Example
Schema
error object
{
"error": {
"message": "Internal Server Error",
"code": "UNKNOWN"
}
}