Backoffice API
  1. Categories
Backoffice API
  • Back to home
  • AdOps
  • Advertisers
    • Paginated Advertisers
      GET
    • Create Advertiser
      POST
    • Advertiser by id
      GET
    • Update Advertiser by id
      PUT
  • Ads
    • Paginated Ads in Advertiser
      GET
    • Create Ad in Advertiser
      POST
    • Ad by id
      GET
    • Update Ad by id
      PUT
    • Place an Ad in Issue or Media
      POST
  • Creatives
    • All creatives in Ad
      GET
    • Create Creative in Ad
      POST
    • Creative by id
      GET
    • Update Creative by id
      PUT
    • Upload Creative image by id
      PUT
    • Remove Creative by id
      DELETE
  • Categories
    • Paginated Categories
      GET
    • Create Category
      POST
    • Category by id
      GET
    • Update Category by id
      PUT
    • Delete Category by id
      DELETE
  1. Categories

Create Category

POST
/categories

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
API Key
Add parameter in query
x-api-key
Example:
x-api-key: ********************
or
Body Params application/json

Examples

Responses

🟢201Created
application/json
Body

🟠401Unauthorized API KEY
🟠403Unauthorized roles
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://prod.your-api-server.com/api/ad-ops/v2/categories' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "locales": [
        {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "locale": "en",
            "value": "string"
        }
    ]
}'
Response Response Example
201 - Example 1
{
    "data": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "locales": [
            {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "locale": "en",
                "value": "string",
                "slug": "string"
            }
        ],
        "updated_at": "2019-08-24T14:15:22Z",
        "inserted_at": "2019-08-24T14:15:22Z",
        "deleted_at": "2019-08-24T14:15:22Z"
    }
}
Modified at 2025-06-19 16:38:40
Previous
Paginated Categories
Next
Category by id
Built with