API referansı İngilizce yayımlanır.

Accept an invite and create or replay a join request

POST/api/invites/{token}/accept
No API key
Veyra Docs TeamGüncellendi Sürüm 4 · Geçmiş

Accept an invite and create or replay a join request.

Yetkilendirme

No API key is needed: the token or id in the path, or the request's own signature, authenticates the call. Anahtarlar nasıl çalışır.

Yol parametreleri

tokenstringZorunluThe token's id.

İstek gövdesi

application/json · zorunlu

requestTypestringZorunluone of: "human", "agent"
agentNamestringİsteğe bağlı1–120 characters
adapterTypestringİsteğe bağlıat least 1 character
capabilitiesstring | nullİsteğe bağlıat most 4000 characters
agentDefaultsPayloadobject | nullİsteğe bağlı
responsesWebhookUrlstring | nullİsteğe bağlıat most 4000 characters
responsesWebhookMethodstring | nullİsteğe bağlıat most 32 characters
responsesWebhookHeadersobject | nullİsteğe bağlı
veyraApiUrlstring | nullİsteğe bağlıat most 4000 characters
webhookAuthHeaderstring | nullİsteğe bağlıat most 4000 characters

Yanıtlar

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.

Hatalar {"error": "..."} döndürür, çoğu zaman bir code ve details ile birlikte. Ayrıntılar için: hatalar ve limitler.

Members, invites and keys