Contacts
Old name of PUT /v1/contacts/{id}/outreach-consent
Deprecated
PUT
projectKeyheader
AuthorizationBearer <token>A project API key (sk_live_…) with read, enroll or admin scope.
id*stringLength
1 <= length <= 128application/json- body
consent*booleansource?stringLength
length <= 80at?unknownDefault Response
application/json- response
success*trueValue in
truedata*meta*curl -X PUT 'http://localhost:8080/v1/contacts/string/sms-consent' \ -H 'Content-Type: application/json' \ -d '{ "consent": true}'{ "success": true, "data": { "id": "string", "projectId": "string", "externalId": "string", "firstName": "string", "lastName": "string", "email": "string", "phone": "string", "linkedinUrl": "string", "country": "string", "timezone": "string", "outreachConsent": true, "outreachConsentAt": "2019-08-24T14:15:22Z", "outreachConsentSource": "string", "smsConsent": true, "smsConsentAt": "2019-08-24T14:15:22Z", "smsConsentSource": "string", "attrs": { "property1": null, "property2": null }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "meta": { "request_id": "string" }}