API Keys
Add API keys to use the TextPeak API.
In your SMS platform, you can add API keys to use the TextPeak API. The tokens generated for the created API Keys can then be used by TextPeak API.
To access the API Keys page, log in to TextPeak in your browser and expand Settings in the main menu; click API Keys.

API keys tab
Adding API keys
From the Settings menu, you can add API keys to use the TextPeak API.
To add an API key:
Open API Keys
In the Settings section of the main menu, select the API Keys tab.
Add an API key
Click the Add API Key button at the top right of the page.

Adding new API keys
Name the key and set its access
In API Key Name, enter a name for the key. To let the key read data only, select Read only. To restrict the key to specific addresses, select Enable IP ACL and choose the IP ACL. Click Add.

Add API Key dialog with Read only selected
Copy the token
The key will be created, and the token will be generated for your new key. Click the Copy button to copy it to the clipboard.

API key was created successfully dialog
Close the window
Click to close the pop-up window.
Managing API keys
The created key will be added to the API keys table, where it can be managed, edited, or deleted. You can also click the eye button to see the API token for the selected API key record.

API keys table with management options
Select Edit to update the API key name, the Read only setting, or the IP ACL. When done, click Submit.

Edit API key dialog
Click Delete to delete the API key and click Confirm.

Delete API Key confirmation dialog
Doing it with the API
Prefer to do this from your own code? Follow a short API recipe with cURL, Node.js, Python, and PHP samples, each tested against the live API.
Send one SMS with the Portal API and your Portal API key.
Send up to 250 SMS messages in one request from a TextPeak stream.
Exchange your TextPeak API key for the stream token you send messages with.
Read your balance, temporary credit, and SMS balance.
Updated 12 days ago