(API) How to create Requester
To create Requester(s), just go to Requesters in the left menu, then click on [ + ] button.
After clicking the button +you will see this form:
Some fields are required, such as: “first name”, “last name”, “email”
in Fields like: “Skype“, “LinkedIn”, “Facebook” and “Twitter”, input only the username.
Example on how to fill the requester form.
You can add a picture of the requester
After you fill all the information, just click the “Save” button.
After you saved the information, you will be able to see a list of all requesters:
You can also, edit the information or delete the requester.
How to create/edit/delete Requester using CURL
Adding a Requester by CURL (Using cURL for Windows):
curl -i --request POST "https://api.botdoc.io/v1/module_container/requester/" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: JWT <Autorization Key>" \
--data-raw "{
"first_name":"John",
"last_name":"Doe",
"role":"Developer",
"email":"johndoe@mail.com",
"company":"botdoc",
"mobile":"01234567890",
"location":"Monument - CO",
"skype":"johndoe",
"linkedin":"johndoe1",
"facebook":"johndoe2",
"twitter":"johndoe"
}
"
Editing a Requester by CURL (Using cURL for Windows):
curl -i --request PATCH "https://api.botdoc.io/v1/module_container/requester/{id_requester}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: JWT <Autorization Key>" \
--data-raw "{
"first_name":"John",
"last_name":"Doe",
"role":"Developer",
"email":"johndoe@mail.com",
"company":"botdoc",
"mobile":"01234567890",
"location":"Monument",
"skype":"johndoe",
"linkedin":"johndoe1",
"facebook":"johndoe2",
"twitter":"johndoe"
}
"
Deleting a Requester by CURL (Using cURL for Windows):
curl -i --request DELETE "https://api.botdoc.io/v1/module_container/requester/{id_requester}/" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: JWT <Autorization Key>"
How to add/update an Avatar to a Requester (Using cURL for Windows):