Create API key
Creates a revocable API key and returns its secret once.
Request body
Example request
{
"name": "My API Key"
}Response
API key created
Example response
{
"id": "42",
"fullKey": "xq_live_abc123def456",
"name": "My API Key",
"prefix": "xq_live_abc1",
"createdAt": "2025-01-15T12:00:00Z"
}Changes
Changed in 2 of the 19 revisions of this API.72
- ●
added the new
closedenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
closedenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
closedenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
closedenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
closedenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
closedenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
expiredenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
expiredenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
expiredenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
expiredenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
expiredenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
expiredenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
invalid_complete_replies_requestenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
invalid_complete_replies_requestenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
invalid_complete_replies_requestenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
invalid_complete_replies_requestenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
invalid_complete_replies_requestenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
invalid_complete_replies_requestenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
invalid_coverage_requestenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
invalid_coverage_requestenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
invalid_coverage_requestenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
invalid_coverage_requestenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
invalid_coverage_requestenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
invalid_coverage_requestenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
invalid_output_optionsenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
invalid_output_optionsenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
invalid_output_optionsenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
invalid_output_optionsenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
invalid_output_optionsenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
invalid_output_optionsenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
invalid_reply_optionsenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
invalid_reply_optionsenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
invalid_reply_optionsenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
invalid_reply_optionsenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
invalid_reply_optionsenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
invalid_reply_optionsenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
login_service_unavailableenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
login_service_unavailableenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
login_service_unavailableenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
login_service_unavailableenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
login_service_unavailableenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
login_service_unavailableenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
missing_urlenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
missing_urlenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
missing_urlenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
missing_urlenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
missing_urlenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
missing_urlenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
too_many_tweetsenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
too_many_tweetsenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
too_many_tweetsenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
too_many_tweetsenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
too_many_tweetsenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
too_many_tweetsenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
- ●
added the new
coverage_cursor_goneenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
coverage_cursor_goneenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
coverage_cursor_goneenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
coverage_cursor_goneenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
coverage_cursor_goneenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
coverage_cursor_goneenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
coverage_cursor_unavailableenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
coverage_cursor_unavailableenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
coverage_cursor_unavailableenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
coverage_cursor_unavailableenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
coverage_cursor_unavailableenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
coverage_cursor_unavailableenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
invalid_coverage_cursorenum value to theallOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/response property for the response status429response-property-enum-value-added
- ●
added the new
invalid_coverage_cursorenum value to theallOf[Error]/error/oneOf[subschema #2: StructuredError]/coderesponse property for the response status429response-property-enum-value-added
- ●
added the new
invalid_coverage_cursorenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response status401response-property-enum-value-added
- ●
added the new
invalid_coverage_cursorenum value to theerror/oneOf[subschema #1: LegacyErrorCode]/response property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
invalid_coverage_cursorenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
invalid_coverage_cursorenum value to theerror/oneOf[subschema #2: StructuredError]/coderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●