Send a person's invitation (again)
POST
/v1/integration-api/people/{id}/invitation
const url = 'https://api.academy.example.com/v1/integration-api/people/example/invitation';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.academy.example.com/v1/integration-api/people/example/invitation \ --header 'Authorization: Bearer <token>'Versioned integration contract.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Success
Media typeapplication/json
object
personId
required
string format: uuid
invitation
required
string
Example
{ "personId": "6f1c2a10-0000-4000-8000-0000000000a1", "invitation": "sent"}default
Section titled “default”Error; error and message identify the reason
Media typeapplication/json
object
error
required
Stable code, e.g. insufficient_scope, not_found, validation_failed
string
message
string
Example generated
{ "error": "example", "message": "example"}