Sign up a contact for the newsletter. The contact does not need to be an existing customer.
⚠️ We strongly recommend verifying the contact with CAPTCHA before sending a request to CareCloud APIs.
Partner assignment
When a contact is signed up, CareCloud creates one or more customer-partner relations. The assignment is determined as follows:
If partner_records is provided (non-empty array) - relations are created for the listed partners without removing existing relations.
If partner_records is an empty array ([]) or omitted - relations are created for all partners accessible to the authenticated API user.
Because this endpoint returns no customer ID, partner assignment cannot be managed after the call. Use partner_records to control assignment at sign-up time.
Agreements
The agreements parameter is optional. Providing it updates only the consent types listed, leaving all others unchanged:
If agreements is omitted - the customer's existing consents remain unchanged.
If agreements is provided - only the consent types included in the request are updated; consent types not present in the request remain unchanged.
Behavior based on account state
The endpoint behaves differently depending on whether the contact already has an account:
No existing account: A new non-club account is created with the provided data. The membership level is determined by the customer source configuration. If the customer source does not specify one, the project's non-club membership level is used.
Existing active account: No new account is created. Consents are set as provided. Partners are added, and existing partner relations are not removed. The customer source is linked to the account if it is not already linked. If the account is non-club and the customer source has a linked membership level, the membership level is updated.
Existing deleted account: Returns HTTP 400 with reason code deleted.
Recent Requests
Log in to see full request history
Time
Status
User Agent
Retrieving recent requests…
Loading…
Responses
204
No Content
401
The client has invalid credentials or auth token.
403
The client does not exist or the client tried to access an unauthorized property or resource.
404
The request path does not match any API route, or the addressed resource does not exist.
405
The request path matches a valid route, but the endpoint does not support the HTTP method used in the request.
429
Too many requests - more than the resource limit.
500
Server is not working as expected.
503
Temporary state when the service is temporarily unavailable, overloaded or there is a maintenance window.