Skip to main content
POST
Enroll a contact in a program

Authorizations

Authorization
string
header
required

Your personal access token where supported, or a scoped API key (hc_…) created inside HueChat at Account → Developer API. Send it as Authorization: Bearer <token>.

Path Parameters

accountId
integer
required

HueChat account ID

programId
string
required

Program UUID

Body

application/json

Contact and terms evidence

contact_id
integer
Example:

1042

program_version
integer
Example:

4

terms_accepted
boolean
Example:

true

terms_evidence
string
Example:

"Accepted in ERP order 8842"

Response

Created

The response is of type object.