Create a contact
POST
/v1/contacts
This endpoint allows you to add a new contact to your contact list in Protocol. To add a contact, you must provide their Protocol username and phone number.
Required attributes
username
•stringrequiredThe username for the contact.
phone_number
•stringrequiredThe phone number for the contact.
Optional attributes
avatar_url
•stringThe avatar image URL for the contact.
display_name
•stringThe contact display name in the contact list. By default, this is just the username.
Request example
const val = 1
Response
{
"text": "Imagine the wildest idea that you've ever had, and you're curious about how it might scale to something that's a 100, a 1,000 times bigger. This is a place where you can get to do that."
}