Skip to content
Maua.Culturewire

Contentful

Spaces, content types, entries and assets of the CMS

E-commerceCatalog1 tool · 0 triggers

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

    1. This uses the Content Management API, which reads and writes.
    2. In Contentful click your avatar → “Account settings” → “CMA tokens”.
    3. Click “Create personal access token”, give it a name and an expiry.
    4. 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.

    Get credentials (opens in a new tab)

  • OAuth 2.0

    PKCEYour OAuth app

    Bring 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

    1. In Contentful click your avatar → “Account settings” → “Developers” → “OAuth applications” and click “Create application”.
    2. 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.
    3. 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 requestCONTENTFUL_SEND_REQUEST

    Authenticated 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
    NameTypeDescription
    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.