Brand
Macros
Get Macros For State

Get Macros For State

GET endpoint for /brand/macros/get-macros-for-state in brand category

Overview

  • Method: GET
  • Path: /brand/macros/get-macros-for-state
  • Tags: brand

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "macros": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "visibility": {
      "type": "string"
    },
    "order": {
      "type": "number"
    },
    "data": {
      "type": "object",
      "additionalProperties": true
    },
    "maxRuns": {
      "type": "number"
    },
    "label": {
      "type": "string"
    },
    "style": {
      "type": "string"
    },
    "requiredRole": {
      "type": "string"
    },
    "requiresMacroId": {
      "type": "string"
    },
    "previewMessage": {
      "type": "string"
    },
    "onComplete": {
      "type": "string"
    }
  },
  "required": [
    "macros",
    "name",
    "type",
    "visibility",
    "order",
    "data",
    "onComplete",
    "name",
    "type",
    "visibility",
    "order",
    "data"
  ]
}

400

Bad Request

Content Type: application/json

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "details": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "error",
    "details"
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  http://localhost:9000/brand/macros/get-macros-for-state \
  -H "Content-Type: application/json" \
  

Interactive Testing

You can test this endpoint interactively in the Swagger UI (opens in a new tab).