DestinationsRetrieve destination

Retrieve destination

Fetch a single destination by id. Viewer keys receive redacted webhook secrets. Returns 404 if the destination does not belong to the calling location.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/destinations/123e4567-e89b-12d3-a456-426614174000" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "tenant_key": "example_string",
    "name": "Purchase → Meta",
    "action_type": "webhook",
    "trigger_rules": {
      "operator": "AND",
      "rules": [
        {
          "type": "mythic_event",
          "eventName": "purchase",
          "operator": "equals"
        }
      ]
    },
    "action_config": {},
    "enabled": true,
    "rate_limit_max": 42,
    "rate_limit_window_seconds": 42,
    "trigger_count": 10,
    "last_triggered_at": "2024-12-25T10:00:00Z",
    "last_error": "example_string",
    "created_at": "2024-12-25T10:00:00Z",
    "updated_at": "2024-12-25T10:00:00Z"
  }
}
GET
/client/v1/destinations/{id}
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.
path
idstring
Required

Destination (action) identifier.

Format: uuid
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Path Parameters

idstring
Required

Destination (action) identifier.

Responses

successboolean
dataobject