Create profile
Creates a new candidate profile. The first_name, last_name, and email fields are required. If a policy is published for your institution, you must also include the relevant policy acceptance fields.
If a profile with the given email already exists, a 422 error is returned. Custom fields are passed at the top level of the request body using their field name (e.g. __nationality, __gmat_score). See the profile schema endpoint for a full list of available fields and their types.
Responses
- application/json
- application/json
- application/json
- application/json
Request Example for post/apis/profiles/profiles
curl https://ff-business-school.fullfabric.cloud/apis/profiles/profiles \
--request POST \
--header 'FF-Auth: YOUR_SECRET_TOKEN'
{
"id": "69e0a8239a52af33ee4f1de0",
"first_name": "James",
"middle_name": null,
"last_name": "Chen",
"email": "james.chen@example.com",
"photo": {},
"contracts": [],
"diplomas": [],
"tags": [],
"roles": [
{
"id": "69e0a8239a52af33ee4f1dec",
"withdrawn": false,
"state": "prospect",
"substate": "cold",
"potential": "unknown",
"context_id": "6385ba98976a771912000002",
"context_type": "Institutions::Institution",
"campus_id": null,
"owner_id": null
}
],
"activated_at": null,
"last_seen": null,
"created_at": 1776330787,
"updated_at": 1776330787,
"source_category": null,
"source_method": "Api"
}