Before using the API, you’ll need to enable API access on your SMSEagle device by following these steps (more information about SMSEagle APIv1 can be found here):
- Create a new user in SMSEagle (menu System > Users) with access level “User”.
- Grant API access to the created user:
- go to Settings > Global settings > API and open the API v1 page
- click Create API key, fill in Key name and select that user as Owner
- Add access permissions in section Permissions for: Send SMS
- click Create key. The access token is shown only once, right after saving.