POST
/
personas
cURL
curl --request POST \
  --url https://api.opengiant.com/v1/personas \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "attributes": {}
}'
{
  "id": "<string>",
  "name": "<string>",
  "attributes": {}
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Persona details.

name
string

The name of the new persona.

attributes
object

Attributes defining the persona's characteristics.

Response

Persona created successfully.

id
string

Unique identifier for the persona.

name
string

The name of the persona.

attributes
object

Attributes defining the persona's characteristics.