Contacts
Create contact
This method adds a contact into a contacts list.
post/public/v1/contacts
Request
- Base URLhttps://api.pandadoc.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://app.pandadoc.com/oauth2/authorizeToken URLhttps://api.pandadoc.com/oauth2/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"email": "user01@pandadoc.com",
"first_name": "John",
"last_name": "Doe",
"company": "John Doe Inc.",
"job_title": "CTO",
"phone": "+14842634627",
"country": "USA",
"state": "Texas",
"street_address": "1313 Mockingbird Lane",
"city": "Austin",
"postal_code": "75001"
}Response
OK
Example response
{
"id": "BCUWJhZm3k7grUNFAz6cD2",
"email": "user01@pandadoc.com",
"first_name": "John",
"last_name": "Doe",
"company": "John Doe Inc.",
"job_title": "CTO",
"phone": "+14842634627",
"country": "USA",
"state": "Texas",
"street_address": "1313 Mockingbird Lane",
"city": "Austin",
"postal_code": "75001"
}Changes
No recorded changes to this operation across all 2 revisions of this API.