> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paradime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# createTriggerUrl

> Creates a Trigger URL for a schedule and returns its secret, once. Needs `bolt:trigger_urls:write`.



**mutation** `createTriggerUrl(input: CreateTriggerUrlInput!): CreateTriggerUrlPayload!`

## Arguments

**`input`**: `CreateTriggerUrlInput!` (required)

The Trigger URL to create.

## Returns

`CreateTriggerUrlPayload!`

**`triggerUrl`**: `TriggerUrl!`

The new Trigger URL.

---

**`secret`**: `String!`

The URL's secret, sent as `Authorization: Bearer <secret>`. Shown only here: store it now.

## Examples

```graphql Mutation
mutation CreateTriggerUrl($input: CreateTriggerUrlInput!) {
  createTriggerUrl(input: $input) {
    triggerUrl {
      publicId
      name
      isEnabled
      url
      schedule {
        slug
        name
        schedule
        timezone
        environment {
          __typename
        }
        gitBranch
      }
      createdAt
    }
    secret
  }
}
```

```json Variables
{
  "input": {
    "scheduleSlug": "string",
    "name": "string"
  }
}
```

```json Response
{
  "data": {
    "createTriggerUrl": {
      "triggerUrl": {
        "publicId": "string",
        "name": "string",
        "isEnabled": true,
        "url": "string",
        "schedule": {
          "slug": "string",
          "name": "string",
          "schedule": "string",
          "timezone": "string",
          "environment": {
            "__typename": "Environment"
          },
          "gitBranch": "string"
        },
        "createdAt": "value"
      },
      "secret": "string"
    }
  }
}
```


## Related topics

- [Administration API: Bolt](https://docs.paradime.io/developers/graphql-api/admin-api/bolt.md)
- [Administration API: Conventions](https://docs.paradime.io/developers/graphql-api/admin-api/conventions.md)
- [Admin client: Bolt](https://docs.paradime.io/developers/python-sdk/modules/admin/bolt.md)
- [Triggers](https://docs.paradime.io/products/bolt/creating-schedules/trigger-types.md)
- [Use a webhook payload in a Bolt run](https://docs.paradime.io/guides/orchestrate-data-pipelines/use-a-webhook-payload-in-a-run.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.