{"__v":1,"_id":"55b9611fb42b610d00c9b297","category":{"__v":2,"_id":"55b9611fb42b610d00c9b290","pages":["55b9611fb42b610d00c9b294","55b9611fb42b610d00c9b295","55b9611fb42b610d00c9b296","55b9611fb42b610d00c9b297","55c523807f345917005ff8ad"],"project":"54295508cd35120800fceca2","version":"55b9611eb42b610d00c9b28d","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-29T22:28:54.673Z","from_sync":false,"order":2,"slug":"rest-api-oauth","title":"Rest API"},"editedParams":true,"editedParams2":true,"project":"54295508cd35120800fceca2","user":"542954f6cd35120800fceca0","version":{"__v":4,"_id":"55b9611eb42b610d00c9b28d","project":"54295508cd35120800fceca2","createdAt":"2015-07-29T23:26:22.532Z","releaseDate":"2015-07-29T23:26:22.532Z","categories":["55b9611fb42b610d00c9b28e","55b9611fb42b610d00c9b28f","55b9611fb42b610d00c9b290","55b9611fb42b610d00c9b291","55b9611fb42b610d00c9b292","55b9611fb42b610d00c9b293","55bc25ee76754617002aa893","56ae7f53be2c040d00d5a09b","56ae7f7b0c1cab0d009f65d1"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-07-29T22:40:29.215Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"results":{"codes":[]},"settings":"","auth":"required","params":[{"_id":"55b9565db42b610d00c9b26f","ref":"","in":"body","required":false,"desc":"Yo username of contact to add","default":"Required","type":"string","name":"username"},{"_id":"55b9565db42b610d00c9b26e","ref":"","in":"body","required":false,"desc":"Name of the contact","default":"Optional","type":"string","name":"name"},{"_id":"55b9565db42b610d00c9b26d","ref":"","in":"body","required":false,"desc":"Phone number of contact, Yos can be sent via texts","default":"Optional","type":"string","name":"phone_number"},{"_id":"56a933471bb4420d004cacbe","ref":"","in":"body","required":true,"desc":"","default":"","type":"string","name":"access_token"}],"url":"/contacts/"},"isReference":false,"order":4,"body":"","excerpt":"Add a contact","slug":"add-contact","type":"post","title":"/contacts/"}

post/contacts/

Add a contact

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

username:
stringRequired
Yo username of contact to add
name:
stringOptional
Name of the contact
phone_number:
stringOptional
Phone number of contact, Yos can be sent via texts
access_token:
required
string

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}