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.
info
A SideShift.ai account represents your integration, not an individual end user. You only need one account for your entire integration.
Responses
- 201
- 500
Account successfully created
- application/json
- Schema
- Example
Schema
id stringrequired
The account ID. Can be used as affiliateId when creating shifts.
secret stringrequired
The account secret. Used for authentication via the x-sideshift-secret header. Store securely and never share.
{
"id": "YQMi62XMb",
"secret": "2d880aab08340f43c3803515f19a0ebf"
}
Internal Server Error
- application/json
- Schema
- Example
Schema
error object
message stringrequired
code stringrequired
{
"error": {
"message": "Internal Server Error",
"code": "UNKNOWN"
}
}
Loading...