Here you will learn how to announce tasks using the public Urbantz API
Overview:
- Requirements
- Announce tasks by API
1. Requirements
- Consult our detailed API documentation: https://docs.urbantz.com/
- Download and install the API platform of your choice. We recommend Postman.
- You will need the following information:
- The API key of your platform: Find it in Administration > Platform > General
- The secret API key of your flow. You can find in Administration > Flows > Integration > Announcement and click the plus button.
- The API key of your platform: Find it in Administration > Platform > General
2. Announce tasks by API
- Open Postman or another API environment and select the method POST
- Insert this URL: https://api.urbantz.com/v2/task/
- Insert the following headers:
- Content-type: application/json
- x-api-key: [API key of the platform]
- x-api-secret: [API key of the Flow]
Alternatively, you can use Basic Auth and enter the credentials.
- Insert your request payload in the body
- Click SEND
Urbantz will return a status code, a timestamp and an announcement Id and an announcement line will be created on the Announcement page of your platform.
Note: be mindful that the 'contact.name' field in the API body will correspond to the 'Client Company' column in the Tasks viewm whereas the end recipient is reflected under the contact.person field.
So for example, for the recipient "John Smith" owning the company "Smith and Sons" the fields will be populated as such:
contact.name "Smith and Sons"
contact.person: "John Smith"
Comments
0 comments
Please sign in to leave a comment.