Organization

Create Organization

POST

🚧 Requires partner key

Organization endpoints are only accessible using partner keys

Request

This endpoint expects an object.
name
stringRequired
client_id
stringOptional
client_secret
stringOptional
issuer
stringOptional
sso_domain
stringOptional
sso_org_id
stringOptional

Response

This endpoint returns an object
data
objectOptional
POST
1curl -X POST https://app.polytomic.com/api/organizations \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "name": "My Organization"
6}'
200Successful
1{
2 "data": {
3 "id": "id",
4 "issuer": "https://example.com",
5 "name": "My Organization",
6 "sso_domain": "example.com",
7 "sso_org_id": "123456"
8 }
9}