cURL
curl --request POST \ --url https://api.letpiper.com/v1/organizations/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{ "name": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "business_information": "<string>", "timezone": "<string>", "created_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "owner_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Create a new organization. The current user automatically becomes the owner.
Platform token (starts with pat_)
Schema for creating a new organization.
1 - 255
Successful Response
Schema for reading organization data (response).