PUT /contacts/:id

Updates an existing contact in ProdPad for an account. The account is determined by the API key.

The data for the contact needs to be passed as a JSON object within the post body.  If there are no fields in the PUT body or none of the field names match those below, the endpoint will return a 400.

Resource URL

POST https://api.prodpad.com/v1/contacts/:id

Parameters

apikey required If the apikey parameter is missing or incorrect a 401 error will be returned

Post Body

Fields

name type required Description
name string No The name of the contact
email string No The email for the contact. This is used as a unique identifier.
about string No The country you want to tag the company with. Note this must be ISO Alpha-2 company code
phone string No Size of the company. The available sizes are 1_10, 11_50, 50_250, 250_500, 500_1000, 1000_5000, 5000_10000, 10000. If a size other than the ones in the list are used a 400 error will be returned
twitter_url string No The value of the company to your company. The available values are "high", "medium" and "low". If a value is used other than these three a 400 error will be returned.
tags array of objects No An array of tags to associate to the contact. Each object in the array should be either {"id": unique id} or {"name":"some tag name"}. That names/id can be retrieved from GET /tags endpoint
external_links array of objects No An array of links to associate to the contact. Each object in the array needs to have a name and a url field like this {"title":"CRM profile","url":"http://www.salesforce.com/adhajskdks"}
personas array of objects No An array of personas to associate to the contact. Each object in the array should be either {"id": unique id} or {"name" :"some persona name"}. The name/ids can be retrieved from the GET /personas endpoint
company string No The company to associate to the contact. The id can be retrieved from the GET /companies endpoint.
job_role string No The job role to assign to the contact. The ID can be retrieved from the GET /jobroles endpoint

Response

POST body

Response Body

Notes

  • All dates are in UTC
  • The about field can include HTML markup
Have more questions? Submit a request

Comments