Payments API now live! Read more at API Reference
curl --request POST \
--url https://platform.usewarp.net/api/organizations/{id}/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role": "member"
}
'{
"member": {
"id": "<string>",
"role": "admin",
"created_at": "2023-11-07T05:31:56Z",
"user": {
"id": "<string>",
"email": "jsmith@example.com",
"onboarding_completed": true,
"is_admin": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"first_name": "<string>",
"last_name": "<string>"
}
}
}Add a new member to an organization
curl --request POST \
--url https://platform.usewarp.net/api/organizations/{id}/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role": "member"
}
'{
"member": {
"id": "<string>",
"role": "admin",
"created_at": "2023-11-07T05:31:56Z",
"user": {
"id": "<string>",
"email": "jsmith@example.com",
"onboarding_completed": true,
"is_admin": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"first_name": "<string>",
"last_name": "<string>"
}
}
}JWT Bearer token authentication
Organization ID
Member added successfully
Show child attributes
Was this page helpful?