POST
/
v1
/
profile
/
{id}
cURL
curl --request POST \
  --url https://api.getprofile-ai.com/v1/profile/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": "<string>",
  "input_type": "<string>"
}'
{
  "id": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The unique identifier of the profile

Body

application/json

Data to extract a profile from

data
string
required

Data to extract a profile from. Can be plain text, JSON, markdown or any other format.

input_type
string

Type of the input data, e.g. chat history, character description, activity log, etc.

Response

Successfully accepted the data for processing

id
string
required

The unique identifier of the profile

message
string
required

Acceptance message