Clients

Create Client

Add a client to the contact book. The owner is the current user; an Organization owner is accepted when the caller can edit that organization. The mobile number is normalized to E.164 (+61…).

post/clients

Request

  • Base URL: https://api.purplegrain.com/api/v1
  • URL: https://api.purplegrain.com/api/v1/clients
  • Auth: HTTP bearer

Query parameters

includestring
Example:owner

Comma-separated snake_case relationship paths to embed (JSON:API included array, or inlined for application/json). Never embedded by default; unknown paths ignored; max 10 paths. Allowed paths: owner, user.

Request body

Response

Created

Example response

{
  "data": {
    "type": "client"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.