copyfactory.io
  • Getting started
    • Overview
      • Authentication
      • Rate limiting
      • Errors
  • API
    • Playbooks
      • The playbook object
      • List playbooks
    • Sequences
      • The sequence object
      • List sequences
    • Contacts
      • The contact object
      • Create contact
      • Get contact
      • Search contacts
    • Profiles
      • The profile object
      • Get a profile
      • List all profiles
    • Premises
      • The premise object
      • Get a premise
      • List all premises
    • Generations
      • The generations object
      • Generate text
  • Text Generation Tutorials
    • How to generate text
  • App
    • Website
    • Login
Powered by GitBook
On this page
  1. API
  2. Profiles

Get a profile

Get a profile object by ID

GET https://app.copyfactory.io/api/v2/profiles/get/

Retrieves the details of an existing profile. Supply the unique profile ID and the API will return the corresponding project information.

Query Parameters

Name
Type
Description

profile_id

int

The unique profile ID

Headers

Name
Type
Description

Authorization*

string

Your Copyfactory API key

{
		"data": {
		"id": 1,
		"profile_name": "Copyfactory",
		"profile_domain": "copyfactory.io",
		"is_active": true,
		"current_tool": "Apollo",
		"created_timestamp": "2021-05-18T21:04:26Z"
	}
}
curl --location --request GET 'https://app.copyfactory.io/api/v2/profiles/get?profile_id=PROFILE-ID/' \
--header 'Authorization: API-KEY'
import requests

url = "https://app.copyfactory.io/api/v2/profiles/get/"

payload={}

params = (('profile_id', 'PROFILE-ID'),)

headers = {
  'Authorization': 'API-KEY'
}

response = requests.request("GET", url, headers=headers,params=params, data=payload)

print(response.text)
PreviousThe profile objectNextList all profiles

Last updated 2 years ago