---
title: "Create api credentials"
method: POST
path: "/me/api/credentials"
tags: ["me"]
---

# Create api credentials

`POST /me/api/credentials`

Creates an API credentials for the CallFire API. This endpoint requires full CallFire account credentials to be used, authenticated using Basic Authentication. At the moment user provides only the name for the credentials. The generated credentials can be used to access any CallFire APIs. For authentication use account credentials.

## Request body

- ApiCredential — An object represents API user in CallFire system. Use /me/api/credentials endpoint to manage API users on your account
  - `id` integer — An id of an API credential
  - `name` string — A name of an API credential
  - `username` string — Username for credential
  - `password` string — A password for credential
  - `enabled` boolean — Is credential enabled

## Response `200`

successful operation

- ApiCredential — An object represents API user in CallFire system. Use /me/api/credentials endpoint to manage API users on your account
  - `id` integer — An id of an API credential
  - `name` string — A name of an API credential
  - `username` string — Username for credential
  - `password` string — A password for credential
  - `enabled` boolean — Is credential enabled

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/callfire/apis/callfire-api-documentation.md) · [All operations](https://skmtc.net/callfire/apis/callfire-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/callfire/callfire-api-documentation/versions/9f6fb501bc03/schema)
