Menu
Get Api Key
Get an API key
GET
/spaces/{spaceId}/api_keys/{apiKeyId}Use it in a workflow
- Add a step and choose the Contentful connector.
- Pick the Get Api Key action (under Contentful Content Management API).
- Fill in the fields below, then reference the result from later steps as
{{getApiKey.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getApiKey.response.data.<field>}}.
{
"sys": {
"id": "string",
"archivedAt": "2025-01-01T00:00:00Z",
"contentType": {
"sys": {
"id": "string",
"linkType": "ContentType",
"type": "Link"
}
},
"createdAt": "2025-01-01T00:00:00Z",
"environment": {
"sys": {
"id": "string",
"linkType": "Environment",
"type": "Link"
}
},
"publishedAt": "2025-01-01T00:00:00Z",
"space": {
"sys": {
"id": "string",
"linkType": "Environment",
"type": "Link"
}
},
"type": "string",
"updatedAt": "2025-01-01T00:00:00Z",
"version": 0
},
"name": "string",
"description": "string",
"accessToken": "string",
"environments": [
{
"sys": {
"id": "string",
"linkType": "Environment",
"type": "Link"
}
}
],
"preview_api_key": {
"sys": {
"id": "string",
"type": "PreviewApiKey"
}
}
}
Need more? See the Contentful guide for connection setup and behaviour shared by every action.
Was this page helpful?