Returns account by id

GET/accounts/{id}

Returns account by id.

Privileges: campaign-detector.view

Auditlog Event: campaign.detector.account.get

Errors:

  • CAMPAIGN_DETECTOR_API_ACCOUNT_NOT_FOUND - account not found
Base URL
https://api-cpaas.sms.es/bulk/campaign-detector/v1
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

idintegerrequired

Account ID

Request example

cURL · cURL
curl -L -X GET "https://api-cpaas.sms.es/bulk/campaign-detector/v1/accounts/{id}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

Account data

application/json
authNamestring
customerBriefNamestring
customerIdinteger
customerNamestring
idinteger
namestring
Example response
{
  "authName": "string",
  "customerBriefName": "string",
  "customerId": 0,
  "customerName": "string",
  "id": 0,
  "name": "string"
}