Customers
Retrieve a contact of a customer
Changed onRetrieve a contact of a customer
ℹ️ This endpoint requires one of the following scopes: customers:all, customers:readonly
get/api/external/v2/customers/{customer_id}/contacts/{id}
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/customers/{customer_id}/contacts/{id}
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: customers:all, customers:readonly
Path parameters
customer_idinteger required
idinteger required
Headers
X-Company-Idstring
Example:12345
Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.
Response
Returns the contact
Example response
{
"id": 421,
"first_name": "Jane",
"last_name": "Doe",
"role": "accountant",
"email": "jane.doe@example.com",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z"
}Changes
- info
endpoint added
- info