Adding a Contact
You can manually add a new contact based on a wallet address, email, or phone number.
POST /contacts
Body
Response
Contact Object
Error Object
Last updated
You can manually add a new contact based on a wallet address, email, or phone number.
POST /contacts
Last updated
Field | Type | Description |
---|---|---|
CODE | Description |
---|---|
primaryIdentifier
'email' | 'phoneNumber' | 'walletAddress'
The primary identifier for the new contact.
value
string
The value of the primary identifier.
200
A contact with that identifier already existed so it returns the existing contact.
201
A new contact was created with the primary identifier and it returns the new contact.
400
The data passed in was invalid. It returns an error object with with the error message for each field.
500
Internal Sever Error