Fetch phonebooks
Endpoint:https://BASE_URL/api/phonebooks?api_key=YourAPIKey
Request Type: GET
Create a phonebook
Endpoint:https://BASE_URL/api/phonebooks
Request Type: POST
Body params:
| Options | Required | Description |
|---|---|---|
| api*key | yes | _string* Your API key (It can be found on your Termii dashboard) |
| phonebook*name | yes | _string* The name of the phonebook |
| description | no | string A description of the contacts stored in the phonebook |
Update phonebook
Endpoint:https://BASE_URL/api/phonebooks/{phonebook_id}
Request Type: PATCH
| Options | Required | Description |
|---|---|---|
| api_key | yes | string Your API key (It can be found on your Termii dashboard) |
| phonebook_name | yes | string The name of the phonebook |
Delete Phonebook
Endpoint:https://BASE_URL/api/phonebooks/{phonebook_id}?api_key=YourAPIKey
Request Type: DELETE
Response