API → Service AccountsCreate a new service account for your org

Parameters

Name

Type

Req.

Returns

  • 201 Created

    successful creation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
post
/org/service-accounts
$ curl -X POST "https://api.zoo.dev/org/service-accounts" \
	--header "Authorization: Bearer $TOKEN"
201 Created
Response
{
  "created_at": "2024-04-12T19:24:36.851Z",
  "id": "3cf3ea3c-d74a-40bb-a48c-511a61cbe3bd",
  "is_valid": true,
  "label": "XkXg290UmJbCJW6TNpPuNtI1EwMX",
  "org_id": "f9caebeb-c30d-4fe7-adeb-281ab7dfb8dd",
  "token": "1b85a598-a778-4558-af25-2dd465e4ce35",
  "updated_at": "2024-04-12T19:24:36.851Z"
}