Retrieving contact information in the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

REST Syntax

Click to view all REST Resources

Contact/ GET — Returns contact information specific to the contact(s) requested.

HTTP Action — GET

URIs:

Get one Contacthttps://api.dynect.net/REST/Contact/<nickname>/

Get all Contactshttps://api.dynect.net/REST/Contact/

Arguments:

No Arguments.

Response:

Get one Contact — Click for More Info

Get all Contacts — Array of individual contact resources.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

GetOneContact — Returns contact information specific to the contact requested.

GetContacts — Returns all existing contacts in your account.

Arguments:

GetOneContact:

string nicknameRequired. The nickname of the desired contact.

string tokenRequired. The session identifier.

GetContacts:

string tokenRequired. The session identifier.

Response:

GetOneContact — Click for More Info

GetContacts — Click for More Info

Example Request — Click for More Info