Brand
Macros
List User Macros

List User Macros

Returns the macros available to the authenticated user based on permissions and assignments.

Overview

  • Method: GET
  • Path: /brand/macros/list-user-macros
  • Tags: brand

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "macros": "string",
  "name": "string",
  "type": "string",
  "visibility": "string",
  "order": 123,
  "data": {
    "key": {}
  },
  "created_at": "2024-01-01T00:00:00.000Z",
  "updated_at": "2024-01-01T00:00:00.000Z"
}

400

Bad Request

Content Type: application/json

{
  "error": "string",
  "details": [
    {}
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  https://api.pillexa.com/brand/macros/list-user-macros \
  -H "Content-Type: application/json" \