Whitelabel
/whitelabel/edit-client-plan
POST
https://api.answerly.io/whitelabel/edit-client-plan
Edit the plan of a whitelabel client.
Request Body
APIKey
string
Required
Your API key. You can read more about how to get an API Key by clicking here.
planId
string
Required
The plan id that you want to assign to the client.
emailAddress
string
Required
The email address of the client that you want to assign the plan to.
curl --request POST \
--url 'https://api.answerly.io/whitelabel/edit-client-plan' \
--header 'Content-Type: application/json' \
--data '{
"APIKey": "YOUR_API_KEY",
"planId": "YOUR_PLAN_ID",
"emailAddress": "YOUR_CLIENT_EMAIL"
}'
Return (success)
status
boolean
A boolean indicating the success or failure of the request.
data
string
The invitation URL.
{
"status": true
}
Return (failure)
status
boolean
A boolean indicating the success or failure of the request.
data
string
An error message returned by the server.
{
"status": false,
"data": "Invalid plan ID."
}