Contentful
Spaces, content types, entries and assets of the CMS
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Personal access token (CFPAT-…)SecretRequired
- Data regionOptionalIdentifier2 choices
Where to find them
- This uses the Content Management API, which reads and writes.
- In Contentful click your avatar → “Account settings” → “CMA tokens”.
- Click “Create personal access token”, give it a name and an expiry.
- Copy the token (CFPAT-…): it is shown only once. It has the same permissions as your user in all your spaces; to limit it, create it with a user that has a more restricted role.
OAuth 2.0
PKCEYour OAuth appBring your own OAuth app: register one with Contentful, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide
Registering the OAuth app
- In Contentful click your avatar → “Account settings” → “Developers” → “OAuth applications” and click “Create application”.
- Name it “Maua.Culturewire” and add a description, paste the redirect URI shown below into “Redirect URI” (Contentful requires HTTPS), choose the expiry, select the “Manage” permission (the scope shown below) and leave “Confidential” checked.
- Click “Create application” and, in the application, copy the “Client ID” and the “Client Secret”. Register the application in the same region as your account (app.contentful.com or app.eu.contentful.com) and choose that region here. When the application's expiry date arrives, connect it again.
Default scopes
content_management_manage
Tools (1)
Contentful API request
CONTENTFUL_SEND_REQUESTAuthenticated call to the Contentful API (https://{server}). Any endpoint of the API is allowed. Examples: GET /spaces, GET /spaces/{space_id}/environments, GET /spaces/{space_id}/environments/master/content_types, GET /spaces/{space_id}/environments/master/entries?content_type=…&order=-sys.updatedAt&limit=20, GET /spaces/{space_id}/environments/master/entries/{id}, POST /spaces/{space_id}/environments/master/entries (header X-Contentful-Content-Type: {content type id}) {"fields": {"title": {"en-US": "…"}}} (locale codes in GET …/locales), PUT …/entries/{id} (header X-Contentful-Version: current version; send all the fields), PUT …/entries/{id}/published (header X-Contentful-Version), GET /spaces/{space_id}/environments/master/assets.
Required scopes
No scopes required
Input
Contentful API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

