To register to the newsletter, you can use the POST /api/Contacts endpoint. Usually, by doing the following:
- (Only if needed) Get the Attributes from the GET /api/Attributes endpoint to get the proper values needed. For the Developer: The Attributes are business-level 'tags' that the organisation might want to be added to the Contact.
- Compose the Contacts object and add the list of Attributes selected (if any). The JSON format is in the page given above.
- Once the Contacts object has been created, send it to the POST /api/Contacts endpoint. This will either return an error (on failure) or the Contacts object (on success) with the new ID for it.
- The domain for the endpoints is https://api.vega.works, so accessing the Contacts would be https://api.vega.works/api/Contacts.
- It uses basic auth so you will need the API username and password from the organisation.
Comments
0 comments
Article is closed for comments.