client

Retrieve client

get/clients/{client_id}/

Request

  • Base URL
    https://api.angelcam.com/v1
  • Auth
    • OAuth 2
      Authorization codehttps://my.angelcam.com/oauth/authorize/, token URL https://my.angelcam.com/oauth/token/
      PasswordToken URL https://api.angelcam.com/oauth/token/
      Scopesclient_access
    • or API key in header Authorization
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

client_idinteger required

Client ID

Response

Client object

idinteger required

Client ID

first_namestring required

Clients first name

last_namestring required

Clients last name

emailstring email required

Clients email

phonestring nullable required

Clients phone number

invoice_to'me' | 'client' required

All services are invoice to reseller (me) or directly to client.

limited_accountboolean required

Limited clients cannot connect new cameras or purchase any services, by themselves.

allowed_accessboolean required

This field indicates if reseller can access clients cameras. Defualt is true, but client can refuse access.

activated_atstring datetime nullable required

Datetime, when client activated their account, or null in a case when the account is not activated yet at all.

Example response

{
  "id": 42,
  "first_name": "Joe",
  "last_name": "Parker",
  "email": "joe@angelcam.com",
  "phone": "+1 111 222 333",
  "invoice_to": "client",
  "limited_account": false,
  "allowed_access": true,
  "confiremd_at": null
}

Changes

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