Users

Create User

POST

🚧 Requires partner key

User endpoints are only accessible using partner keys

Path parameters

org_idstringRequired

Request

This endpoint expects an object.
email
stringRequired
role
stringOptional

Response

This endpoint returns an object
data
objectOptional
POST
1curl -X POST https://app.polytomic.com/api/organizations/248df4b7-aa70-47b8-a036-33ac447e668d/users \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "email": "mail@example.com"
6}'
200Successful
1{
2 "data": {
3 "email": "mail@example.com",
4 "id": "id",
5 "organization_id": "organization_id",
6 "role": "admin"
7 }
8}