Skip to main content
POST
/
v2
/
contacts
cURL
curl --request POST \
  --url https://api.eda.prisme.ai/v2/contacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "<string>",
  "ids": [
    "<string>"
  ],
  "firstName": "<string>",
  "lastName": "<string>",
  "authProvider": "<string>",
  "status": "pending",
  "platformRole": "<string>",
  "groups": [
    "<string>"
  ]
}'
{
  "size": 123,
  "contacts": [
    {
      "firstName": "<string>",
      "lastName": "<string>",
      "language": "<string>",
      "photo": "<string>",
      "status": "pending",
      "meta": {},
      "groups": [
        "<string>"
      ],
      "id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
number

Page number

limit
number

Page size

Body

application/json
email
string
ids
string[]
firstName
string
lastName
string
authProvider
string
status
enum<string>
Available options:
pending,
validated,
deactivated
platformRole
string
groups
string[]

Response

Success Response

contacts
object[]
required
size
number

Total number of matching contacts

I