SocialPipe docs

Create Key

Mint a new API key. **Authenticates with a session, not an API key.** The raw key is in this response and nowhere else, ever again.

POST/v1/keys

Mint a new API key. Authenticates with a session, not an API key.

The raw key is in this response and nowhere else, ever again.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/keys" \  -H "Content-Type: application/json" \  -d '{}'
{  "created_at": "2019-08-24T14:15:22Z",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "is_active": true,  "key": "string",  "key_prefix": "string",  "last_used_at": "2019-08-24T14:15:22Z",  "name": "string",  "rate_limit": 0,  "revoked_at": "2019-08-24T14:15:22Z"}