Get Service category

GET/service-categories/{id}

Get Service category.

Privileges:

  • biz-core.view

Audit event:

  • biz.core.v2.service.category.get

Errors:

  • BIZ_CORE:SERVICE_CATEGORY_NOTFOUND - Service category with given id not found.
Base URL
https://api-cpaas.sms.es/biz-core/v2
Authentication

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

Request

Path parameters

idintegerrequired

id.

Request example

cURL · cURL
curl -L -X GET "https://api-cpaas.sms.es/biz-core/v2/service-categories/{id}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

Service category data

application/json
categorystring
idinteger
Example response
{
  "category": "string",
  "id": 0
}