AgentInvoiceAgentInvoice

Get a client by ID

Returns full details for a single client.

GET
/clients/{id}
AuthorizationBearer <token>

API key issued from your AgentInvoice account settings.

In: header

Path Parameters

id*integer

Client ID

Response Body

application/json

application/json

curl -X GET "https://app.agentinvoice.co/api/clients/0"
{
  "id": 42,
  "name": "Acme Corp",
  "email": "billing@acme.com",
  "phone": "string",
  "company": "string",
  "addressLine1": "string",
  "addressLine2": "string",
  "city": "string",
  "state": "string",
  "postalCode": "string",
  "country": "string",
  "notes": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}
{
  "error": "Not found",
  "code": "NOT_FOUND"
}