{"openapi":"3.0.3","info":{"title":"Core Texting API","description":"Enterprise SMS and WhatsApp messaging API","version":"1.0.0","contact":{"name":"API Support","email":"support@coretexting.com","url":"https://docs.coretexting.com"}},"servers":[{"url":"https://api.coretexting.com","description":"Production"}],"security":[{"BearerAuth":[]}],"tags":[{"name":"Messages","description":"Send and manage SMS/WhatsApp messages"},{"name":"Campaigns","description":"Bulk messaging campaigns"},{"name":"Contacts","description":"Contact management"},{"name":"Webhooks","description":"Webhook configuration"},{"name":"Usage","description":"API usage and analytics"}],"paths":{"/v1/messages/send":{"post":{"tags":["Messages"],"summary":"Send message","description":"Send an SMS or WhatsApp message to one or more recipients","operationId":"sendMessage","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageRequest"},"examples":{"single":{"summary":"Single recipient","value":{"to":"+256700123456","message":"Hello from Core Texting!","message_type":"sms"}},"multiple":{"summary":"Multiple recipients","value":{"to":["+256700123456","+256700789012"],"message":"Hello everyone!","message_type":"sms"}}}}}},"responses":{"202":{"description":"Message queued for delivery","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageResponse"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/v1/messages/batch":{"post":{"tags":["Messages"],"summary":"Send batch messages","description":"Send different messages to different recipients in a single request","operationId":"sendBatchMessages","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendBatchRequest"}}}},"responses":{"202":{"description":"Messages queued for delivery","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendBatchResponse"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/v1/messages/{messageId}":{"get":{"tags":["Messages"],"summary":"Get message","description":"Retrieve the status and details of a message","operationId":"getMessage","parameters":[{"name":"messageId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Message details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageDetails"}}}},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/messages":{"get":{"tags":["Messages"],"summary":"List messages","description":"Retrieve a paginated list of messages","operationId":"listMessages","parameters":[{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"name":"status","in":"query","schema":{"type":"string","enum":["queued","sent","delivered","failed","simulated"]}}],"responses":{"200":{"description":"List of messages","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageList"}}}}}}},"/v1/campaigns":{"post":{"tags":["Campaigns"],"summary":"Create campaign","description":"Create a bulk messaging campaign","operationId":"createCampaign","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCampaignRequest"}}}},"responses":{"201":{"description":"Campaign created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignResponse"}}}},"400":{"$ref":"#/components/responses/ValidationError"}}},"get":{"tags":["Campaigns"],"summary":"List campaigns","operationId":"listCampaigns","parameters":[{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"name":"status","in":"query","schema":{"type":"string","enum":["active","paused","scheduled","completed","cancelled","failed"]}}],"responses":{"200":{"description":"List of campaigns","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignList"}}}}}}},"/v1/campaigns/{campaignId}":{"get":{"tags":["Campaigns"],"summary":"Get campaign","operationId":"getCampaign","parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Campaign details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignDetails"}}}},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/campaigns/{campaignId}/pause":{"post":{"tags":["Campaigns"],"summary":"Pause campaign","operationId":"pauseCampaign","parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Campaign paused"},"422":{"$ref":"#/components/responses/InvalidState"}}}},"/v1/campaigns/{campaignId}/resume":{"post":{"tags":["Campaigns"],"summary":"Resume campaign","operationId":"resumeCampaign","parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Campaign resumed"},"422":{"$ref":"#/components/responses/InvalidState"}}}},"/v1/campaigns/{campaignId}/cancel":{"post":{"tags":["Campaigns"],"summary":"Cancel campaign","operationId":"cancelCampaign","parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Campaign cancelled"},"422":{"$ref":"#/components/responses/InvalidState"}}}},"/v1/contacts":{"post":{"tags":["Contacts"],"summary":"Create contact","operationId":"createContact","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactRequest"}}}},"responses":{"201":{"description":"Contact created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"409":{"$ref":"#/components/responses/Conflict"}}},"get":{"tags":["Contacts"],"summary":"List contacts","operationId":"listContacts","parameters":[{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"name":"tag","in":"query","schema":{"type":"string"},"description":"Filter by tag"},{"name":"search","in":"query","schema":{"type":"string"},"description":"Search by name, phone, or email"}],"responses":{"200":{"description":"List of contacts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactList"}}}}}}},"/v1/contacts/bulk":{"post":{"tags":["Contacts"],"summary":"Bulk create contacts","operationId":"bulkCreateContacts","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCreateContactsRequest"}}}},"responses":{"201":{"description":"Contacts created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCreateContactsResponse"}}}}}}},"/v1/contacts/{contactId}":{"get":{"tags":["Contacts"],"summary":"Get contact","operationId":"getContact","parameters":[{"name":"contactId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Contact details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"patch":{"tags":["Contacts"],"summary":"Update contact","operationId":"updateContact","parameters":[{"name":"contactId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateContactRequest"}}}},"responses":{"200":{"description":"Contact updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Contacts"],"summary":"Delete contact","operationId":"deleteContact","parameters":[{"name":"contactId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Contact deleted"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/webhooks":{"post":{"tags":["Webhooks"],"summary":"Create webhook","operationId":"createWebhook","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookRequest"}}}},"responses":{"201":{"description":"Webhook created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookResponse"}}}}}},"get":{"tags":["Webhooks"],"summary":"List webhooks","operationId":"listWebhooks","responses":{"200":{"description":"List of webhooks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookList"}}}}}}},"/v1/webhooks/{webhookId}":{"get":{"tags":["Webhooks"],"summary":"Get webhook","operationId":"getWebhook","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Webhook details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookResponse"}}}},"404":{"$ref":"#/components/responses/NotFound"}}},"patch":{"tags":["Webhooks"],"summary":"Update webhook","operationId":"updateWebhook","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookRequest"}}}},"responses":{"200":{"description":"Webhook updated"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Webhooks"],"summary":"Delete webhook","operationId":"deleteWebhook","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Webhook deleted"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/webhooks/{webhookId}/rotate-secret":{"post":{"tags":["Webhooks"],"summary":"Rotate webhook secret","operationId":"rotateWebhookSecret","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"New secret generated","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"webhook_id":{"type":"string"},"secret":{"type":"string"}}}}}}}}}}},"/v1/webhooks/{webhookId}/test":{"post":{"tags":["Webhooks"],"summary":"Test webhook","operationId":"testWebhook","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Test result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"delivered":{"type":"boolean"},"status_code":{"type":"integer"},"error":{"type":"string"}}}}}}}}}}},"/v1/usage":{"get":{"tags":["Usage"],"summary":"Get API usage statistics","description":"Retrieve usage statistics for your project","operationId":"getUsage","parameters":[{"name":"period","in":"query","schema":{"type":"string","enum":["hour","day","week","month"],"default":"day"},"description":"Time period for aggregation"},{"name":"start_date","in":"query","schema":{"type":"string","format":"date"},"description":"Start date (ISO 8601)"},{"name":"end_date","in":"query","schema":{"type":"string","format":"date"},"description":"End date (ISO 8601)"}],"responses":{"200":{"description":"Usage statistics","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageResponse"}}}}}}},"/v1/usage/summary":{"get":{"tags":["Usage"],"summary":"Get usage summary","description":"Get a quick summary of current period usage","operationId":"getUsageSummary","responses":{"200":{"description":"Usage summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageSummaryResponse"}}}}}}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","description":"API key authentication. Use sk_live_ for production, sk_test_ for testing."}},"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":64},"description":"Unique key to prevent duplicate operations. Recommended for all POST requests."},"Limit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50},"description":"Number of results per page"},"Offset":{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0},"description":"Number of results to skip"}},"schemas":{"SendMessageRequest":{"type":"object","required":["to","message"],"properties":{"to":{"oneOf":[{"type":"string","minLength":10,"maxLength":15},{"type":"array","items":{"type":"string","minLength":10,"maxLength":15},"maxItems":1000}],"description":"Phone number(s) to send to"},"message":{"type":"string","minLength":1,"maxLength":1600},"message_type":{"type":"string","enum":["sms","whatsapp"],"default":"sms"},"sender_id":{"type":"string","pattern":"^[A-Za-z0-9 _.-]{1,11}$","description":"Sender ID shown to recipients. Omit it to send as CoreTexting. If given, it must be one of your organization's sender IDs (Settings → Sender IDs) or CoreTexting; anything else returns 403 SENDER_NOT_ALLOWED."},"scheduled_at":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"SendMessageResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"message_id":{"type":"string"},"message_ids":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"count":{"type":"integer"},"segments":{"type":"integer"},"segments_per_message":{"type":"integer"},"total_segments":{"type":"integer"},"credits_charged":{"type":"integer"},"test_mode":{"type":"boolean"}}}}},"SendBatchRequest":{"type":"object","required":["messages"],"properties":{"messages":{"type":"array","minItems":1,"maxItems":1000,"items":{"type":"object","required":["to","message"],"properties":{"to":{"type":"string","minLength":10,"maxLength":15},"message":{"type":"string","minLength":1,"maxLength":1600},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}}},"message_type":{"type":"string","enum":["sms","whatsapp"],"default":"sms"},"sender_id":{"type":"string","pattern":"^[A-Za-z0-9 _.-]{1,11}$","description":"Sender ID shown to recipients. Omit it to send as CoreTexting. If given, it must be one of your organization's sender IDs (Settings → Sender IDs) or CoreTexting; anything else returns 403 SENDER_NOT_ALLOWED."}}},"SendBatchResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"message_ids":{"type":"array","items":{"type":"string"}},"count":{"type":"integer"},"total_segments":{"type":"integer"},"credits_charged":{"type":"integer"},"test_mode":{"type":"boolean"}}}}},"MessageDetails":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"id":{"type":"string"},"phone":{"type":"string"},"message":{"type":"string"},"message_type":{"type":"string"},"status":{"type":"string","enum":["queued","sent","delivered","failed","simulated"]},"segments_sent":{"type":"integer"},"cost":{"type":"integer"},"sent_at":{"type":"string","format":"date-time"},"delivered_at":{"type":"string","format":"date-time"},"failed_at":{"type":"string","format":"date-time"},"failure_reason":{"type":"string"},"created_at":{"type":"string","format":"date-time"}}}}},"MessageList":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"phone":{"type":"string"},"message_type":{"type":"string"},"status":{"type":"string"},"segments_sent":{"type":"integer"},"cost":{"type":"integer"},"created_at":{"type":"string","format":"date-time"}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"CreateCampaignRequest":{"type":"object","required":["name","message","recipients"],"properties":{"name":{"type":"string","minLength":1,"maxLength":255},"message":{"type":"string","minLength":1,"maxLength":1600},"message_type":{"type":"string","enum":["sms","whatsapp"],"default":"sms"},"sender_id":{"type":"string","pattern":"^[A-Za-z0-9 _.-]{1,11}$","description":"Sender ID shown to recipients. Omit it to send as CoreTexting. If given, it must be one of your organization's sender IDs (Settings → Sender IDs) or CoreTexting; anything else returns 403 SENDER_NOT_ALLOWED."},"recipients":{"type":"array","minItems":1,"maxItems":10000,"items":{"type":"string"}},"scheduled_at":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"CampaignResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"campaign_id":{"type":"string"},"status":{"type":"string"},"recipients_count":{"type":"integer"},"estimated_credits":{"type":"integer"},"test_mode":{"type":"boolean"}}}}},"CampaignDetails":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"message_content":{"type":"string"},"message_type":{"type":"string"},"status":{"type":"string"},"total_recipients":{"type":"integer"},"sent_count":{"type":"integer"},"delivered_count":{"type":"integer"},"failed_count":{"type":"integer"},"scheduled_at":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time"}}}}},"CampaignList":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"CreateContactRequest":{"type":"object","required":["phone_number"],"properties":{"phone_number":{"type":"string","minLength":10,"maxLength":15},"first_name":{"type":"string","maxLength":100},"last_name":{"type":"string","maxLength":100},"email":{"type":"string","format":"email"},"tags":{"type":"array","items":{"type":"string"}},"custom_fields":{"type":"object","additionalProperties":{"type":"string"}}}},"UpdateContactRequest":{"type":"object","properties":{"first_name":{"type":"string","maxLength":100},"last_name":{"type":"string","maxLength":100},"email":{"type":"string","format":"email"},"tags":{"type":"array","items":{"type":"string"}},"custom_fields":{"type":"object","additionalProperties":{"type":"string"}},"is_subscribed":{"type":"boolean"}}},"ContactResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"id":{"type":"string"},"phone_number":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"is_subscribed":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"}}}}},"ContactList":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"BulkCreateContactsRequest":{"type":"object","required":["contacts"],"properties":{"contacts":{"type":"array","minItems":1,"maxItems":1000,"items":{"$ref":"#/components/schemas/CreateContactRequest"}}}},"BulkCreateContactsResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"created":{"type":"integer"},"contact_ids":{"type":"array","items":{"type":"string"}}}}}},"CreateWebhookRequest":{"type":"object","required":["url","events"],"properties":{"url":{"type":"string","format":"uri"},"events":{"type":"array","minItems":1,"items":{"type":"string","enum":["message.sent","message.delivered","message.failed","message.received","campaign.started","campaign.completed","campaign.failed"]}},"description":{"type":"string","maxLength":255}}},"UpdateWebhookRequest":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"type":"string"}},"description":{"type":"string","maxLength":255},"is_active":{"type":"boolean"}}},"WebhookResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"secret":{"type":"string","description":"Only returned on creation"},"is_active":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"}}}}},"WebhookList":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"object"}}}},"UsageResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"period":{"type":"string"},"start_date":{"type":"string","format":"date-time"},"end_date":{"type":"string","format":"date-time"},"usage":{"type":"array","items":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"requests":{"type":"integer"},"messages_sent":{"type":"integer"},"segments_used":{"type":"integer"},"credits_used":{"type":"integer"}}}},"totals":{"type":"object","properties":{"requests":{"type":"integer"},"messages_sent":{"type":"integer"},"segments_used":{"type":"integer"},"credits_used":{"type":"integer"}}}}}}},"UsageSummaryResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"today":{"type":"object","properties":{"requests":{"type":"integer"},"messages_sent":{"type":"integer"},"credits_used":{"type":"integer"}}},"this_month":{"type":"object","properties":{"requests":{"type":"integer"},"messages_sent":{"type":"integer"},"credits_used":{"type":"integer"}}},"rate_limits":{"type":"object","properties":{"requests_per_minute":{"type":"integer"},"requests_remaining":{"type":"integer"},"requests_per_day":{"type":"integer"},"daily_remaining":{"type":"integer"}}}}}}},"Pagination":{"type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"}}},"Error":{"type":"object","properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"},"docs":{"type":"string","format":"uri"},"details":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["code","message"]}}}},"responses":{"ValidationError":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"success":false,"error":{"code":"VALIDATION_ERROR","message":"to must be at least 10 characters","request_id":"req_abc123","docs":"https://docs.coretexting.com/api/errors#validation-error","details":{"to":["to must be at least 10 characters"]}}}}}},"Unauthorized":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"success":false,"error":{"code":"UNAUTHORIZED","message":"Missing or invalid Authorization header","request_id":"req_abc123","docs":"https://docs.coretexting.com/api/errors#unauthorized"}}}}},"Forbidden":{"description":"Insufficient permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Conflict":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InvalidState":{"description":"Invalid resource state for operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Rate limit exceeded","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}},"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}