POST
/
api
/
contacts
curl --request POST \
  --url https://lyra.so/api/v1/api/contacts \
  --header 'Content-Type: application/json' \
  --header 'X-LYRA-API-KEY: <api-key>' \
  --data '{
  "first_name": "<string>",
  "last_name": "<string>",
  "role": "<string>",
  "email": "jsmith@example.com",
  "phone": "<string>"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

X-LYRA-API-KEY
string
header
required

Body

application/json
first_name
string
required

First name of the contact

last_name
string
required

Last name of the contact

email
string
required

Email address of the contact

role
string

Role or position of the contact

phone
string

Phone number of the contact (optional)

Response

200
application/json
Contact created successfully
id
string

The ID of the created contact