Customer API
- Authentication
- Account
- Lists
-
Subscribers
- List the contacts of a list
- Add a contact to a list
- Get a contact
- Change a contact
- Delete a contact
- Find a contact in every list
- Add tags to a contact
- Remove tags from a contact
- Subscribe a contact
- Unsubscribe a contact
- Unsubscribe an address from a list
- Import contacts, in the request
- Import contacts, in the background
- List the recent imports of a list
- Follow an import
- Cancel an import
- Sign a contact up, without a token
-
Campaigns
- List the campaigns
- Create a campaign
- Get a campaign
- Change a campaign
- Delete a campaign
- Send a campaign
- Pause a campaign
- Resume a paused campaign
- Download the delivery log of a campaign
- Download the opens of a campaign
- Download the clicks of a campaign
- Download the bounces of a campaign
- Download the complaints of a campaign
- Download the unsubscribes of a campaign
- List the webhooks of a campaign
- Add a webhook to a campaign
- Get a webhook of a campaign
- Change a webhook of a campaign
- Delete a webhook of a campaign
- Automations
- Bounces and complaints
Admin API
SEARCH RESULT
Navigation
Go
Maintenance Admin API
Refresh the license
POST
/api/v1/license/refresh
Checks the installed license again with the license server, like the Refresh button of the license settings. Only for an admin allowed to change the general settings.
Responses
200
The license, as the license server sees it now.
400
The license server could not be asked; the license is the one stored before.
401
The token is missing or wrong, or its admin may not change the general settings.
404
No license is installed.
Refresh the license
1
2
3
curl -X POST 'https://your-domain/api/v1/license/refresh' \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Response
{
"status": "success",
"license": {
"purchase_code_masked": "ab12****************cd34",
"type": "Regular License",
"status": "active",
"is_active": true,
"is_expired": false,
"supported_until": "2027-05-01T00:00:00+00:00",
"supported_until_human": "Sat, May 1, 2027 12:00 AM",
"days_remaining": 167,
"buyer": "example-buyer"
}
}
{
"status": "error",
"message": "cURL error 28 Connection timed out",
"license": null
}
{
"status": "error",
"message": "Unauthorized"
}
{
"status": "error",
"message": "No license installed",
"license": null
}