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

# Add a binding



## OpenAPI

````yaml /openapi.json post /bindings/add
openapi: 3.1.0
info:
  title: Technified Developer API
  version: 1.0.0
  description: >-
    Call a guild's Technified data with a guild API key. Paste your key
    (technified_<guildId>_<random>) into Authorization above, then send requests
    against your own guild.


    Endpoints whose path has no {guildId} read the guild from your key; send
    your guild ID in the X-Guild-ID header where noted.
servers:
  - url: https://api.technified.xyz/api/v1
security:
  - ApiKeyHeader: []
paths:
  /bindings/add:
    post:
      tags:
        - Bindings
      summary: Add a binding
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - guild_id
                - discord_role_id
                - binding_type
              properties:
                guild_id:
                  type: string
                discord_role_id:
                  type: string
                binding_type:
                  type: string
                  enum:
                    - group_rank
                    - gamepass
                    - asset
                    - badge
                    - account_age
                    - verified
                roblox_group_id:
                  type: number
                min_rank:
                  type: number
                max_rank:
                  type: number
                roblox_gamepass_id:
                  type: number
                roblox_asset_id:
                  type: number
                roblox_badge_id:
                  type: number
                account_age_min_days:
                  type: number
                priority:
                  type: number
      responses:
        '200':
          $ref: '#/components/responses/Success'
        default:
          $ref: '#/components/responses/Error'
components:
  responses:
    Success:
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SuccessEnvelope'
    Error:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  schemas:
    SuccessEnvelope:
      type: object
      properties:
        status:
          type: string
          example: success
        code:
          type: integer
          example: 200
        message:
          type: string
        data:
          type: object
          additionalProperties: true
    ErrorEnvelope:
      type: object
      properties:
        status:
          type: string
          example: error
        code:
          type: integer
          example: 401
        message:
          type: string
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Your guild API key, e.g. technified_123..._abc. Create one under
        Dashboard > Settings > API Keys.

````