Team Invitations
Invite a new member.
Changed onSends an invitation email to the specified address. The recipient must accept the invitation before they become a team member.
post/api/v1/teams/invitations
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"email": "user@example.com",
"role_id": 2
}Response
Team invitation created successfully
Example response
{
"status": "success",
"data": {
"id": 1,
"email": "user@example.com",
"role_id": 2,
"team_id": 1,
"created_at": "2023-04-30 16:43:53"
}
}Changes
- info
endpoint added
- info