Contacts
The Contact Object
Attributes
API Endpoints
Create a Contact
Creates a new contact with given data.
SDK Functions
Ruby
Returns
Returns the Contact object upon successful creation. It’s recommended to store the returned contact ID in your own system for future reference and operations.
Retrieve a Contact
Retrieves a contact by its internal ID.
SDK Functions
Ruby
Returns
Returns the up-to-date Contact object for a valid identifier. Raises an error if parameters are invalid (e.g. specifying an invalid internal contact ID)
List all Contacts
Retrieves all contacts associated with your organization.
Ruby
Returns
Returns the up-to-date list of Contact objects.
Delete a Contact
Deletes a contact by its internal ID.
SDK Functions
Ruby
Returns
This is a void function. It performs the requested operation but does not return any value upon success. If the contact ID does not exist, this call raises an error.
Error Handling
The API uses conventional HTTP response codes to indicate the success or failure of requests:
2xxrange indicates success4xxrange indicates an error that failed given the information provided5xxrange indicates an error with Paid’s servers