Skip to navigation

List customer aliases

Lists the customer’s aliases, newest first, including those for its units and those Paid made. Archived aliases are left out unless includeArchived is true. customerUnit limits the list to one unit’s aliases (the root’s include the whole customer’s), and source to one label. {customer} takes the customer’s cus_ ID, your externalId, or one of its aliases. {alias} takes the alias’s als_ ID or its value, URL-encoded and matched ignoring letter case, within that customer; a value starting als_ is tried as a Paid ID first.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

customerstringRequired1-255 characters

The customer’s cus_ ID, your externalId, or one of its aliases.

Headers

Paid-BetaenumRequired

This endpoint is in the customer_aliases=v1 beta. Send this header to use it.

Allowed values:

Query parameters

cursorstringOptional

The nextCursor of the previous page. Omit it for the first page.

customerUnitstringOptional1-255 characters

Only aliases for this unit of the customer: its cu_ ID or your externalId.

includeArchivedenumOptional

Pass true to include archived objects.

Allowed values:
limitintegerOptional1-100Defaults to 10
How many objects to return, 1 to 100. Defaults to 10.
sourcestringOptional

Only aliases with this source, matched exactly.

Response

200
objectenum

The type of object. Always list.

Allowed values:
datalist of objects
The customer's aliases on this page, newest first.
hasMoreboolean
Whether another page follows this one.
nextCursorstring or null

Send it as cursor to get the next page. Null on the last page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error