AddressBook
Questi contenuti non sono ancora disponibili nella tua lingua.
Manage address book entries, which represent contact information (such as email, phone, or postal address) associated with entities like people or locations.
You can create, update, delete, and search for address book entries with advanced filtering and pagination.
- Version
- 2.0.0
- OpenAPI version
- 3.0.0
Operations
Sezione intitolata “Operations” POST /v2/address-book/index
Returns a paginated and filterable list of address book entries.
Use POST to allow complex filters via JSON payload.
Request Body
Sezione intitolata “Request Body ”Parameters for searching address book entries
object
object
Example
{ "filter": { "type": "email" }, "per-page": 20, "page": 1, "sort": "entity_id"}
Responses
Sezione intitolata “ Responses ”List of address book entries
object
{ "delivery_id": "123e4567-e89b-12d3-a456-426655440000", "type": "email", "description": "the email", "value": "theuser@theemail.com", "note": "work email", "entity_id": "123e4567-e89b-12d3-a456-426655440000"}
Example
{ "delivery_id": "123e4567-e89b-12d3-a456-426655440000", "type": "email", "description": "Work email", "value": "theuser@theemail.com", "note": "Main contact", "entity_id": "123e4567-e89b-12d3-a456-426655440000"}
Headers
Sezione intitolata “Headers ”Current page
Total number of pages
Number of items per page
Total number of items
POST /v2/address-book/create
Create a new address book entry by providing the required details.
Request Body required
Sezione intitolata “Request Body required ”AddressBook object to be created
object
Example
{ "type": "email", "description": "Work email", "value": "theuser@theemail.com", "note": "Main contact", "entity_id": "123e4567-e89b-12d3-a456-426655440000"}
Responses
Sezione intitolata “ Responses ”AddressBook created successfully
object
Example
{ "delivery_id": "123e4567-e89b-12d3-a456-426655440000", "type": "email", "description": "Work email", "value": "theuser@theemail.com", "note": "Main contact", "entity_id": "123e4567-e89b-12d3-a456-426655440000"}
GET /v2/address-book/view/{id}
Retrieve an address book entry by its unique ID.
Path Parameters
Sezione intitolata “Path Parameters ”ID of the address book entry to retrieve
Responses
Sezione intitolata “ Responses ”AddressBook found
object
Example
{ "delivery_id": "123e4567-e89b-12d3-a456-426655440000", "type": "email", "description": "Work email", "value": "theuser@theemail.com", "note": "Main contact", "entity_id": "123e4567-e89b-12d3-a456-426655440000"}
AddressBook not found
DELETE /v2/address-book/view/{id}
Delete an address book entry by its unique ID.
If force=true, all related entities will also be deleted.
Path Parameters
Sezione intitolata “Path Parameters ”ID of the address book entry to delete
Query Parameters
Sezione intitolata “Query Parameters ”Force the deletion of the entity and all related entities
Responses
Sezione intitolata “ Responses ”AddressBook deleted successfully
If force=false, the operation is interrupted and the list of connected entities that will be deleted in case of confirmation (force=true) is returned
PUT /v2/address-book/update/{id}
Update an existing address book entry by its unique ID.
Path Parameters
Sezione intitolata “Path Parameters ”ID of the address book entry to update
Request Body required
Sezione intitolata “Request Body required ”AddressBook object with updated data
object
Example
{ "note": "Updated contact"}
Responses
Sezione intitolata “ Responses ”AddressBook updated successfully
object
Example
{ "delivery_id": "123e4567-e89b-12d3-a456-426655440000", "note": "Updated contact"}
AddressBook not found