cURL
curl --request GET \ --url https://connect.withvayu.com/customers/name/{name} \ --header 'Authorization: Bearer <token>'
{ "customer": { "name": "<string>", "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "aliases": [], "address": { "country": "<string>", "city": "<string>", "addressText": "<string>", "state": "<string>", "postalCode": "<string>" }, "contacts": [ { "name": "<string>", "email": "[email protected]", "title": "<string>", "phone": "<string>", "receiveInvoiceEmail": true } ], "source": "Stripe", "externalId": "<string>", "customerErpId": "<string>" } }
Use this endpoint to get a specific customer using its name.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
response contains the customer matching the provided name
The customer matching the provided name
Show child attributes
The name of the customer
The aliases of the customer used to match events to the customer.
The address of the customer
The contacts of the customer. Contact marked as primary is the target for invoice sharing.
The source of the customer
Stripe
Ingestion
Api
Salesforce
HubSpot
The external ID of the customer
The ID of the customer in the ERP system