La référence de l'API est publiée en anglais.

Accept an invite and create or replay a join request

POST/api/invites/{token}/accept
No API key
Veyra Docs TeamMis à jour le Version 4 · Historique

Accept an invite and create or replay a join request.

Autorisation

No API key is needed: the token or id in the path, or the request's own signature, authenticates the call. Fonctionnement des clés.

Paramètres de chemin

tokenstringObligatoireThe token's id.

Corps de la requête

application/json · obligatoire

requestTypestringObligatoireone of: "human", "agent"
agentNamestringFacultatif1–120 characters
adapterTypestringFacultatifat least 1 character
capabilitiesstring | nullFacultatifat most 4000 characters
agentDefaultsPayloadobject | nullFacultatif
responsesWebhookUrlstring | nullFacultatifat most 4000 characters
responsesWebhookMethodstring | nullFacultatifat most 32 characters
responsesWebhookHeadersobject | nullFacultatif
veyraApiUrlstring | nullFacultatifat most 4000 characters
webhookAuthHeaderstring | nullFacultatifat most 4000 characters

Réponses

202SuccessAccepted; the work continues in the background.
400Bad requestThe request is malformed or failed validation. details names each field that failed.
401UnauthorizedNo key, or the key is unknown, revoked or expired.
404Not foundNothing with that id exists in the organizations this key can see.

Les erreurs renvoient {"error": "..."}, souvent avec un code et des details. Voir erreurs et limites.

Members, invites and keys