Skip to main content
POST
/
api
/
management
/
invites
Enviar convites
curl --request POST \
  --url https://api.olie.ai/api/management/invites \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "emails": [
    "[email protected]",
    "[email protected]"
  ],
  "role_ids": [
    6,
    1
  ],
  "funnel_access": [
    {
      "project_funnel_id": 112,
      "index_all": false,
      "index_assigned": true,
      "index_created": false,
      "step_change": true
    },
    {
      "project_funnel_id": 42,
      "index_all": false,
      "index_assigned": false,
      "index_created": true,
      "step_change": true
    },
    {
      "project_funnel_id": 49,
      "index_all": true,
      "index_assigned": true,
      "index_created": true,
      "step_change": true
    }
  ]
}
'
{
  "response": true,
  "invites": [
    {
      "id": 64,
      "frame_id": "019c75de-532c-7047-9563-daf1448ca963",
      "email": "[email protected]",
      "role_ids": [
        7,
        1
      ],
      "funnel_access": [
        {
          "project_funnel_id": 112,
          "index_all": false,
          "index_assigned": true,
          "index_created": false,
          "step_change": true
        },
        {
          "project_funnel_id": 42,
          "index_all": false,
          "index_assigned": false,
          "index_created": true,
          "step_change": true
        },
        {
          "project_funnel_id": 49,
          "index_all": true,
          "index_assigned": true,
          "index_created": true,
          "step_change": true
        }
      ],
      "token": "A45DA91B85AC7F67F5BA8F3CD0FC76E1",
      "updated_at": "2026-04-29T14:06:40.000000Z",
      "created_at": "2026-04-29T14:06:40.000000Z"
    },
    {
      "id": 65,
      "frame_id": "019c75de-532c-7047-9563-daf1448ca963",
      "email": "[email protected]",
      "role_ids": [
        7,
        1
      ],
      "funnel_access": [
        {
          "project_funnel_id": 112,
          "index_all": false,
          "index_assigned": true,
          "index_created": false,
          "step_change": true
        },
        {
          "project_funnel_id": 42,
          "index_all": false,
          "index_assigned": false,
          "index_created": true,
          "step_change": true
        },
        {
          "project_funnel_id": 49,
          "index_all": true,
          "index_assigned": true,
          "index_created": true,
          "step_change": true
        }
      ],
      "token": "DC40E84BF55B563D11D314D9BBB39FF2",
      "updated_at": "2026-04-29T14:06:40.000000Z",
      "created_at": "2026-04-29T14:06:40.000000Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.olie.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Payload para criar um ou mais convites (um por e-mail), com papéis e permissões de acesso a funis.

emails
string<email>[]

Lista de e-mails que receberão convite. Cada e-mail gera um convite dentro da mesma requisição.

Endereço de e-mail do convidado.

role_ids
integer[]

Lista de IDs de papéis (roles) que serão atribuídos ao convidado ao aceitar o convite.

ID do papel (role) a ser associado ao convidado.

funnel_access
object[]

Lista de permissões por funil que o convidado terá ao aceitar o convite.

Response

Sucesso

response
boolean
invites
object[]