Add handles to a person
Add one or more handles to an existing person linked to your organization.
Path Parameters
- person_id string required
The person ID
Example: 903c1ff9-f2cc-435c-b242-9d8a690fcf0a
Header Parameters
- SlashID-OrgID string required
The organization ID
Example: af5fbd30-7ce7-4548-8b30-4cd59cb2aba1
- application/json
Request Body array required
The person handles POST request
- type string required
Possible values: [
email_address
,phone_number
,username
] - value string required
Responses
- 204
- 400
- 404
No content
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
meta object
errors object[]
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
meta object
errors object[]
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}
POST /persons/:person_id/handles
https://api.slashid.com
Authorization
type: apiKeyname: SlashID-API-Keyin: header
Request
Request
curl -L -X POST 'https://api.slashid.com/persons/:person_id/handles' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>' \
--data-raw '[
{
"type": "email_address",
"value": "user@user.com"
}
]'
curl -L -X POST 'https://api.slashid.com/persons/:person_id/handles' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>' \
--data-raw '[
{
"type": "email_address",
"value": "user@user.com"
}
]'
curl -L -X POST 'https://api.slashid.com/persons/:person_id/handles' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>' \
--data-raw '[
{
"type": "email_address",
"value": "user@user.com"
}
]'
curl -L -X POST 'https://api.slashid.com/persons/:person_id/handles' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>' \
--data-raw '[
{
"type": "email_address",
"value": "user@user.com"
}
]'
curl -L -X POST 'https://api.slashid.com/persons/:person_id/handles' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>' \
--data-raw '[
{
"type": "email_address",
"value": "user@user.com"
}
]'
curl -L -X POST 'https://api.slashid.com/persons/:person_id/handles' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>' \
--data-raw '[
{
"type": "email_address",
"value": "user@user.com"
}
]'
curl -L -X POST 'https://api.slashid.com/persons/:person_id/handles' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>' \
--data-raw '[
{
"type": "email_address",
"value": "user@user.com"
}
]'