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

# Post v1invitations accept



## OpenAPI

````yaml /openapi/platform.json post /v1/invitations/{invitationId}/accept
openapi: 3.1.0
info:
  title: GOL Platform API
  description: >-
    Public API for GOL developer projects, credentials, owner gas policies,
    hosted gas executions, and webhooks.
  version: 0.7.0
servers:
  - url: http://localhost:4100
    description: Local development
security: []
tags:
  - name: system
  - name: authentication
  - name: projects
  - name: api-keys
  - name: audit
  - name: gas-executions
  - name: gas-policies
  - name: webhooks
paths:
  /v1/invitations/{invitationId}/accept:
    post:
      tags:
        - workspaces
      operationId: acceptInvitation
      parameters:
        - schema:
            format: uuid
            type: string
          in: path
          name: invitationId
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - id
                  - workspaceId
                  - email
                  - inviterId
                  - role
                  - scope
                  - projectIds
                  - state
                  - deliveryState
                  - createdAt
                  - expiresAt
                  - decidedAt
                properties:
                  id:
                    format: uuid
                    type: string
                  workspaceId:
                    format: uuid
                    type: string
                  email:
                    type: string
                  inviterId:
                    format: uuid
                    type: string
                  role:
                    anyOf:
                      - type: string
                        enum:
                          - owner
                      - type: string
                        enum:
                          - admin
                      - type: string
                        enum:
                          - operator
                      - type: string
                        enum:
                          - viewer
                  scope:
                    anyOf:
                      - type: string
                        enum:
                          - all
                      - type: string
                        enum:
                          - selected
                  projectIds:
                    type: array
                    items:
                      format: uuid
                      type: string
                  state:
                    anyOf:
                      - type: string
                        enum:
                          - pending
                      - type: string
                        enum:
                          - accepted
                      - type: string
                        enum:
                          - declined
                      - type: string
                        enum:
                          - revoked
                      - type: string
                        enum:
                          - expired
                  deliveryState:
                    anyOf:
                      - type: string
                        enum:
                          - queued
                      - type: string
                        enum:
                          - sent
                      - type: string
                        enum:
                          - failed
                  createdAt:
                    format: date-time
                    type: string
                  expiresAt:
                    format: date-time
                    type: string
                  decidedAt:
                    anyOf:
                      - format: date-time
                        type: string
                      - type: 'null'
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '429':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````