New: French documentation now available! Switch to French
English
cURL
curl --request POST \ --url https://api.txcloud.io/v1/developers/keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "environment": "live", "permissions": [ "<string>" ], "allowed_ips": [ "<string>" ], "rate_limit": 123, "expires_at": "2023-11-07T05:31:56Z" } '
{ "id": "<string>", "name": "<string>", "prefix": "<string>", "environment": "live", "permissions": [ "<string>" ], "last_used": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "key": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
live
test
Key created
Full key (only shown once)