Body
Required
-
A custom identifier for internal reference by your system (not used by missionX).
-
The name of the client.
-
The last part (after the @) of any client emails you might want to give access to projects. E.g. missionx.ai
-
One or more department IDs associated with this client, i.e. org.departments[]._id
POST
/clients
curl \
--request POST 'https://open.api.missionx.ai/v2/clients' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"customId":"string","title":"string","emailDomains":["string"],"departments":["string"]}'
Request examples
{
"customId": "string",
"title": "string",
"emailDomains": [
"string"
],
"departments": [
"string"
]
}
Response examples (200)
{
"_id": "string",
"createdBy": "string",
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z",
"customId": "string",
"title": "string",
"emailDomains": [
"string"
],
"departments": [
"string"
]
}
Response examples (400)
{
"message": "string",
"code": "string",
"data": {}
}
Response examples (500)
{
"message": "string",
"code": "string",
"data": {}
}