Panalk
LanguageEnglish
Download the OpenAPI document

Recipients

The people a parcel goes to, with the phone, shared place and address the driver needs.

Operations

GET/api/v1/integration/recipientsAPI key

Lists the people the organisation delivers to, newest first, with optional search and paging.

Required scopes: recipients:read

Query parameters

FieldType and limitsRequired
qstring, 1 to 80 charactersNo
limitinteger, 1 to 100No
offsetinteger, 0 to 9007199254740991No

Responses

  • 200Success
  • 401The API key is missing, unknown, revoked, or expired.
  • 403The key lacks the scope, the source is not allowed, or the plan has no API access.
  • 422A value failed validation; the envelope lists the fields.
  • 429The plan rate limit was exceeded. Retry after the window.
  • defaultAny other failure
POST/api/v1/integration/recipientsAPI key

Creates a recipient with a name and phone, and optionally a shared place, address or landmark.

Required scopes: recipients:write

Request body

FieldType and limitsRequired
namestring, 1 to 120 charactersYes
phonestring, 5 to 30 charactersYes
place_idstring (uuid)No
address_linestring, 1 to 240 charactersNo
landmarkstring, 1 to 120 charactersNo

Responses

  • 201Success
  • 400The request body could not be read.
  • 401The API key is missing, unknown, revoked, or expired.
  • 403The key lacks the scope, the source is not allowed, or the plan has no API access.
  • 422A value failed validation; the envelope lists the fields.
  • 429The plan rate limit was exceeded. Retry after the window.
  • defaultAny other failure
GET/api/v1/integration/recipients/{id}API key

Returns one recipient in the organisation by id.

Required scopes: recipients:read

Path parameters

FieldType and limitsRequired
idstring (uuid)Yes

Responses

  • 200Success
  • 401The API key is missing, unknown, revoked, or expired.
  • 403The key lacks the scope, the source is not allowed, or the plan has no API access.
  • 404That delivery does not exist in this organisation.
  • 422A value failed validation; the envelope lists the fields.
  • 429The plan rate limit was exceeded. Retry after the window.
  • defaultAny other failure
PATCH/api/v1/integration/recipients/{id}API key

Corrects a recipient's name, phone, place or address.

Required scopes: recipients:write

Path parameters

FieldType and limitsRequired
idstring (uuid)Yes

Request body

FieldType and limitsRequired
namestring, 1 to 120 charactersNo
phonestring, 5 to 30 charactersNo
place_idstring (uuid) or nullNo
address_linestring, 1 to 240 characters or nullNo
landmarkstring, 1 to 120 characters or nullNo

Responses

  • 200Success
  • 400The request body could not be read.
  • 401The API key is missing, unknown, revoked, or expired.
  • 403The key lacks the scope, the source is not allowed, or the plan has no API access.
  • 404That delivery does not exist in this organisation.
  • 422A value failed validation; the envelope lists the fields.
  • 429The plan rate limit was exceeded. Retry after the window.
  • defaultAny other failure