Logto · Capability

Logto API references — Organization invitations

Logto API references — Organization invitations. 6 operations. Lead operation: Get organization invitations. Self-contained Naftiko capability covering one Logto business surface.

Run with Naftiko LogtoOrganization invitations

What You Can Do

GET
Listorganizationinvitations — Get organization invitations
/v1/api/organization-invitations
POST
Createorganizationinvitation — Create organization invitation
/v1/api/organization-invitations
GET
Getorganizationinvitation — Get organization invitation
/v1/api/organization-invitations/{id}
DELETE
Deleteorganizationinvitation — Delete organization invitation
/v1/api/organization-invitations/{id}
POST
Createorganizationinvitationmessage — Resend invitation message
/v1/api/organization-invitations/{id}/message
PUT
Replaceorganizationinvitationstatus — Update organization invitation status
/v1/api/organization-invitations/{id}/status

MCP Tools

get-organization-invitations

Get organization invitations

read-only idempotent
create-organization-invitation

Create organization invitation

get-organization-invitation

Get organization invitation

read-only idempotent
delete-organization-invitation

Delete organization invitation

idempotent
resend-invitation-message

Resend invitation message

update-organization-invitation-status

Update organization invitation status

idempotent

Capability Spec

logto-organization-invitations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Logto API references — Organization invitations
  description: 'Logto API references — Organization invitations. 6 operations. Lead operation: Get organization invitations.
    Self-contained Naftiko capability covering one Logto business surface.'
  tags:
  - Logto
  - Organization invitations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LOGTO_API_KEY: LOGTO_API_KEY
capability:
  consumes:
  - type: http
    namespace: logto-organization-invitations
    baseUri: https://[tenant_id].logto.app
    description: Logto API references — Organization invitations business capability. Self-contained, no shared references.
    resources:
    - name: api-organization-invitations
      path: /api/organization-invitations
      operations:
      - name: listorganizationinvitations
        method: GET
        description: Get organization invitations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: query
          type: string
        - name: inviterId
          in: query
          type: string
        - name: invitee
          in: query
          type: string
      - name: createorganizationinvitation
        method: POST
        description: Create organization invitation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-organization-invitations-id
      path: /api/organization-invitations/{id}
      operations:
      - name: getorganizationinvitation
        method: GET
        description: Get organization invitation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteorganizationinvitation
        method: DELETE
        description: Delete organization invitation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-organization-invitations-id-message
      path: /api/organization-invitations/{id}/message
      operations:
      - name: createorganizationinvitationmessage
        method: POST
        description: Resend invitation message
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-organization-invitations-id-status
      path: /api/organization-invitations/{id}/status
      operations:
      - name: replaceorganizationinvitationstatus
        method: PUT
        description: Update organization invitation status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.LOGTO_API_KEY}}'
  exposes:
  - type: rest
    namespace: logto-organization-invitations-rest
    port: 8080
    description: REST adapter for Logto API references — Organization invitations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/organization-invitations
      name: api-organization-invitations
      description: REST surface for api-organization-invitations.
      operations:
      - method: GET
        name: listorganizationinvitations
        description: Get organization invitations
        call: logto-organization-invitations.listorganizationinvitations
        with:
          organizationId: rest.organizationId
          inviterId: rest.inviterId
          invitee: rest.invitee
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createorganizationinvitation
        description: Create organization invitation
        call: logto-organization-invitations.createorganizationinvitation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/organization-invitations/{id}
      name: api-organization-invitations-id
      description: REST surface for api-organization-invitations-id.
      operations:
      - method: GET
        name: getorganizationinvitation
        description: Get organization invitation
        call: logto-organization-invitations.getorganizationinvitation
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteorganizationinvitation
        description: Delete organization invitation
        call: logto-organization-invitations.deleteorganizationinvitation
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/organization-invitations/{id}/message
      name: api-organization-invitations-id-message
      description: REST surface for api-organization-invitations-id-message.
      operations:
      - method: POST
        name: createorganizationinvitationmessage
        description: Resend invitation message
        call: logto-organization-invitations.createorganizationinvitationmessage
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/organization-invitations/{id}/status
      name: api-organization-invitations-id-status
      description: REST surface for api-organization-invitations-id-status.
      operations:
      - method: PUT
        name: replaceorganizationinvitationstatus
        description: Update organization invitation status
        call: logto-organization-invitations.replaceorganizationinvitationstatus
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: logto-organization-invitations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Logto API references — Organization invitations. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-organization-invitations
      description: Get organization invitations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: logto-organization-invitations.listorganizationinvitations
      with:
        organizationId: tools.organizationId
        inviterId: tools.inviterId
        invitee: tools.invitee
      outputParameters:
      - type: object
        mapping: $.
    - name: create-organization-invitation
      description: Create organization invitation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: logto-organization-invitations.createorganizationinvitation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-organization-invitation
      description: Get organization invitation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: logto-organization-invitations.getorganizationinvitation
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-organization-invitation
      description: Delete organization invitation
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: logto-organization-invitations.deleteorganizationinvitation
      outputParameters:
      - type: object
        mapping: $.
    - name: resend-invitation-message
      description: Resend invitation message
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: logto-organization-invitations.createorganizationinvitationmessage
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-organization-invitation-status
      description: Update organization invitation status
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: logto-organization-invitations.replaceorganizationinvitationstatus
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.