Skip to main content
POST
Create contact

Authorizations

X-YoLead-Key
string
header
required

Public API key generated in the YoLead UI.

X-YoLead-Timestamp
string
header
required

Unix timestamp in milliseconds. Requests must be signed within a 5-minute window.

X-YoLead-Signature
string
header
required

Hex HMAC-SHA256 signature over <timestamp>.<raw_body> using the API secret.

Body

application/json
firstName
string
required
Required string length: 1 - 100
identities
object
required

At least one identity type is required when creating a contact. Each provided identity type contains 1 to 20 trimmed values of at most 512 characters.

lastName
string
Required string length: 1 - 100

Response

Contact created.

data
object
required