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

# Create hook credentials (removed)

> **This endpoint has no success response.** It always responds `410 Gone` — there is no path that can succeed, which is why no `2xx` is documented.

Create keys in **Settings → Integrations → API Access** instead, or read the existing pair with `GET /api/hooks/credentials`.

**Permission:** requires `hooks`.



## OpenAPI

````yaml /api-reference/specs/webhooks.json post /api/hooks/credentials
openapi: 3.1.0
info:
  title: ConveYour API — Webhooks
  description: List outbound webhook subscriptions and manage legacy webhook credentials.
  version: 1.0.0
servers:
  - url: https://{subdomain}.conveyour.com
    description: Your organization's ConveYour instance
    variables:
      subdomain:
        default: acme
        description: >-
          Your organization's slug — the subdomain you sign in on. Replace
          `acme` with yours: if you sign in at `bigco.conveyour.com`, enter
          `bigco`.
security:
  - conveyourToken: []
tags:
  - name: Webhooks
    description: List outbound webhook subscriptions and manage legacy webhook credentials.
paths:
  /api/hooks/credentials:
    post:
      tags:
        - Webhooks
      summary: Create hook credentials (removed)
      description: >-
        **This endpoint has no success response.** It always responds `410 Gone`
        — there is no path that can succeed, which is why no `2xx` is
        documented.


        Create keys in **Settings → Integrations → API Access** instead, or read
        the existing pair with `GET /api/hooks/credentials`.


        **Permission:** requires `hooks`.
      operationId: removedReturns410GoneUseApiAccess
      parameters:
        - $ref: '#/components/parameters/teams'
      responses:
        '403':
          $ref: '#/components/responses/Forbidden'
        '410':
          description: >-
            Gone. This endpoint was retired; it returns only an error with HTTP
            410 and a redirect hint. There is no success response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - failed
                  message:
                    type: string
                    description: Create API keys in Settings → Integrations → API Access
                  data:
                    type: object
                    properties:
                      redirect:
                        type: string
                        description: 'UI path to create a key: /settings/api-access?tab=keys'
components:
  parameters:
    teams:
      name: teams[]
      in: query
      description: >-
        Team scope for the request, as one or more team ObjectIds. The brackets
        are required: PHP keeps only the last value for a repeated plain key, so
        `teams=A&teams=B` silently resolves to B alone. On requests with a JSON
        body you may send `teams` (no brackets) in the body instead.


        **Values that are not valid ObjectIds are silently ignored** — a
        mistyped team ID behaves as if no team was sent. See the [teams section
        of the API conventions guide](/guides/api-conventions#team-scoping).
      style: form
      explode: true
      schema:
        type: array
        items:
          type: string
      example:
        - 64a1b2c3d4e5f6a7b8c9d0ff
  responses:
    Forbidden:
      description: >-
        The token is missing or invalid, or the service account behind it lacks
        the permission this endpoint requires.
      content:
        application/json:
          example:
            status: failed
            message: Lacking necessary permission add_contacts
            data:
              permission: add_contacts
  securitySchemes:
    conveyourToken:
      type: apiKey
      in: header
      name: x-conveyour-token
      description: >-
        Your API key token. Contacts endpoints require a **Server-only — Full
        API** key — see [Authentication](/quickstart).

````

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