POST /api-keys

Authentication

Bearer Token API Key (header: X-API-Key)

Responses

201 API key created (key returned once)

No response body

curl -X POST 'https://platform-api.anyspend.com/api/v1/api-keys' \  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://platform-api.anyspend.com/api/v1/api-keys', {  method: 'POST',  headers: {      "Authorization": "Bearer YOUR_API_TOKEN"  }});const data = await response.json();console.log(data);
import requestsheaders = {    'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.post('https://platform-api.anyspend.com/api/v1/api-keys', headers=headers)print(response.json())