Saltar para o conteúdo principal
GET
/
public
/
v1
/
user-service
/
advertiser-users
Get User By Email
curl --request GET \
  --url https://api.topsort.com/public/v1/user-service/advertiser-users \
  --header 'Authorization: Bearer <token>'
{
  "email": "<string>",
  "vendorIds": [
    "<string>"
  ],
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "givenName": "",
  "familyName": "",
  "languagePreference": "en"
}

Autorizações

Authorization
string
header
obrigatório

A valid API key generated in Topsort's UI.

Parâmetros de consulta

email
string
obrigatório

The email of the user to get.

Resposta

Successful Response

email
string
obrigatório

The email address of the vendor user

Maximum string length: 255
vendorIds
string[]
obrigatório
Required array length: 1 - 1000 elements
userId
string<uuid>
obrigatório

The unique identifier for the vendor user

givenName
string
padrão:""

The first name of the vendor user

Maximum string length: 50
familyName
string
padrão:""

The last name of the vendor user

Maximum string length: 50
languagePreference
enum<string>
padrão:en

The preferred language of the vendor user

Opções disponíveis:
en,
fr,
es,
pt,
ru,
ar-AE,
de,
ko