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

# Complete a Slack identity link

> Mint a key as the signed-in user and store the mapping.

Order matters: the nonce is consumed only after a successful mint, so a
transient identity-service failure leaves the link clickable instead of
burning it and forcing the user back to Slack.



## OpenAPI

````yaml https://agentex.dev-sgp.scale.com/openapi.json post /integrations/slack/link
openapi: 3.1.0
info:
  title: Agentex API
  version: 0.1.0
servers: []
security: []
paths:
  /integrations/slack/link:
    post:
      tags:
        - Integrations
      summary: Complete a Slack identity link
      description: |-
        Mint a key as the signed-in user and store the mapping.

        Order matters: the nonce is consumed only after a successful mint, so a
        transient identity-service failure leaves the link clickable instead of
        burning it and forcing the user back to Slack.
      operationId: slack_link_confirm_integrations_slack_link_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: >-
                #/components/schemas/Body_slack_link_confirm_integrations_slack_link_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_slack_link_confirm_integrations_slack_link_post:
      properties:
        nonce:
          type: string
          title: Nonce
          default: ''
      type: object
      title: Body_slack_link_confirm_integrations_slack_link_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````