Skip to content

Get user's external ID

Request

This endpoint gets user's external ID by user ID.

Security
Bearer
Path
userIdstring, (uuid)required

Identifier for user.

Example:4974a66b-7493-4f41-908c-58ba81093947
Query
includeInactiveboolean

Include inactive users.

Default:false
Example:includeInactive=true
curl -i -X GET \
  'https://api-ext-sboxmeta.partners.spotnana.com/v2/users/4974a66b-7493-4f41-908c-58ba81093947/external-id?includeInactive=true' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
externalIdstringrequired

A partner-assigned user identifier. This value must be unique for all travelers within a PNR.

Example:"user-1"
Response
{ "externalId": "user-1" }